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:
parent
47d68ac3a4
commit
950c1848f3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue