diff --git a/test/mocks/blocks.cpp b/test/mocks/blocks.cpp index fa786bdb..4e7474c6 100644 --- a/test/mocks/blocks.cpp +++ b/test/mocks/blocks.cpp @@ -89,8 +89,8 @@ bool setup_three_block_store(query_t& query) NOEXCEPT return query.initialize(genesis) && query.set(block1, database::context{ 0, 1, 0 }, false, false) && query.set(block2, database::context{ 0, 2, 0 }, false, false) && - query.push_confirmed(query.to_header(block1_hash), false) && - query.push_confirmed(query.to_header(block2_hash), false); + query.push_confirmed(query.to_header(block1_hash), true) && + query.push_confirmed(query.to_header(block2_hash), true); } bool setup_three_block_witness_store(query_t& query) NOEXCEPT @@ -98,8 +98,8 @@ bool setup_three_block_witness_store(query_t& query) NOEXCEPT return query.initialize(genesis) && query.set(block1a, database::context{ 0, 1, 0 }, false, false) && query.set(block2a, database::context{ 0, 2, 0 }, false, false) && - query.push_confirmed(query.to_header(block1a.hash()), false) && - query.push_confirmed(query.to_header(block2a.hash()), false); + query.push_confirmed(query.to_header(block1a.hash()), true) && + query.push_confirmed(query.to_header(block2a.hash()), true); } bool setup_three_block_confirmed_address_store(query_t& query) NOEXCEPT