Skip to content

Commit

Permalink
Minor unused test code bugfix (nano::test::account_height)
Browse files Browse the repository at this point in the history
No test is currently using this function but it is useful function
  • Loading branch information
dsiganos committed Mar 6, 2024
1 parent 42544be commit 9c5de9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/test_common/testutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9c5de9b

Please sign in to comment.