Remove inaccurate and needless comments

This commit is contained in:
Dimitrios Siganos 2024-04-30 14:50:58 +01:00
commit b2e265186b
2 changed files with 0 additions and 2 deletions

View file

@ -102,7 +102,6 @@ std::optional<nano::amount> nano::ledger_set_any::block_amount (secure::transact
return block_balance > previous_balance.value () ? block_balance.number () - previous_balance.value ().number () : previous_balance.value ().number () - block_balance.number ();
}
// Balance for account containing hash
std::optional<nano::amount> nano::ledger_set_any::block_balance (secure::transaction const & transaction, nano::block_hash const & hash) const
{
if (hash.is_zero ())

View file

@ -43,7 +43,6 @@ uint64_t nano::ledger_set_confirmed::account_height (secure::transaction const &
return block->sideband ().height;
}
// Balance for account containing hash
std::optional<nano::amount> nano::ledger_set_confirmed::block_balance (secure::transaction const & transaction, nano::block_hash const & hash) const
{
if (hash.is_zero ())