diff options
author | MacroFake <falke.marco@gmail.com> | 2022-09-06 14:49:55 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-09-06 14:38:19 +0200 |
commit | fa4ba04c157b83b827f7541fa007710bd6211fe7 (patch) | |
tree | 77bfc9c7dbcff0b5b7204aa95a8b2aec39131562 | |
parent | fa642286b83f29cb0ac0c8d4c7d8eba10600402c (diff) | |
download | bitcoin-fa4ba04c157b83b827f7541fa007710bd6211fe7.tar.xz |
fuzz: Remove no-op call to get()
-rw-r--r-- | src/test/fuzz/pow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/pow.cpp b/src/test/fuzz/pow.cpp index 507ce57ec0..eba03da773 100644 --- a/src/test/fuzz/pow.cpp +++ b/src/test/fuzz/pow.cpp @@ -114,7 +114,7 @@ FUZZ_TARGET_INIT(pow_transition, initialize_pow) auto current_block{std::make_unique<CBlockIndex>(header)}; current_block->pprev = blocks.empty() ? nullptr : blocks.back().get(); current_block->nHeight = height; - blocks.emplace_back(std::move(current_block)).get(); + blocks.emplace_back(std::move(current_block)); } auto last_block{blocks.back().get()}; unsigned int new_nbits{GetNextWorkRequired(last_block, nullptr, consensus_params)}; |