Skip to content

Commit fa4ba04

Browse files
author
MacroFake
committed
fuzz: Remove no-op call to get()
1 parent fa64228 commit fa4ba04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fuzz/pow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ FUZZ_TARGET_INIT(pow_transition, initialize_pow)
114114
auto current_block{std::make_unique<CBlockIndex>(header)};
115115
current_block->pprev = blocks.empty() ? nullptr : blocks.back().get();
116116
current_block->nHeight = height;
117-
blocks.emplace_back(std::move(current_block)).get();
117+
blocks.emplace_back(std::move(current_block));
118118
}
119119
auto last_block{blocks.back().get()};
120120
unsigned int new_nbits{GetNextWorkRequired(last_block, nullptr, consensus_params)};

0 commit comments

Comments
 (0)