We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa64228 commit fa4ba04Copy full SHA for fa4ba04
src/test/fuzz/pow.cpp
@@ -114,7 +114,7 @@ FUZZ_TARGET_INIT(pow_transition, initialize_pow)
114
auto current_block{std::make_unique<CBlockIndex>(header)};
115
current_block->pprev = blocks.empty() ? nullptr : blocks.back().get();
116
current_block->nHeight = height;
117
- blocks.emplace_back(std::move(current_block)).get();
+ blocks.emplace_back(std::move(current_block));
118
}
119
auto last_block{blocks.back().get()};
120
unsigned int new_nbits{GetNextWorkRequired(last_block, nullptr, consensus_params)};
0 commit comments