Minor unused test code bugfix (nano::test::account_height) (#4466)

No test is currently using this function but it is useful function
This commit is contained in:
Dimitrios Siganos 2024-03-07 12:35:07 +00:00 committed by GitHub
commit 950c1848f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}