diff --git a/nano/core_test/node.cpp b/nano/core_test/node.cpp index 0213b57880..65ba12a705 100644 --- a/nano/core_test/node.cpp +++ b/nano/core_test/node.cpp @@ -2143,6 +2143,8 @@ TEST (node, block_confirm) auto send1_copy = builder.make_block () .from (*send1) .build_shared (); + auto hash1 = send1->hash (); + auto hash2 = send1_copy->hash (); node1.block_processor.add (send1); node2.block_processor.add (send1_copy); ASSERT_TIMELY (5s, node1.ledger.block_or_pruned_exists (send1->hash ()) && node2.ledger.block_or_pruned_exists (send1_copy->hash ()));