diff --git a/nano/test_common/testutil.cpp b/nano/test_common/testutil.cpp index 9d6d5bb76e..fcdd79e6d0 100644 --- a/nano/test_common/testutil.cpp +++ b/nano/test_common/testutil.cpp @@ -289,7 +289,7 @@ uint64_t nano::test::account_height (nano::node const & node, nano::account cons { auto const tx = node.ledger.store.tx_begin_read (); nano::confirmation_height_info height_info; - if (!node.ledger.store.confirmation_height.get (tx, acc, height_info)) + if (node.ledger.store.confirmation_height.get (tx, acc, height_info)) { return 0; }