Remove unnecessary encapsulation breakage - no functional difference
This commit is contained in:
parent
ec636fa9f4
commit
c2b7706e3e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ nano::ledger_set_any::ledger_set_any (nano::ledger const & ledger) :
|
|||
|
||||
std::optional<nano::amount> nano::ledger_set_any::account_balance (secure::transaction const & transaction, nano::account const & account_a) const
|
||||
{
|
||||
auto block = block_get (transaction, ledger.any.account_head (transaction, account_a));
|
||||
auto block = block_get (transaction, account_head (transaction, account_a));
|
||||
if (!block)
|
||||
{
|
||||
return std::nullopt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue