Remove inaccurate and needless comments
This commit is contained in:
parent
c2b7706e3e
commit
b2e265186b
2 changed files with 0 additions and 2 deletions
|
|
@ -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 ())
|
||||
|
|
|
|||
|
|
@ -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 ())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue