mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Account for deferred credits of parent views
This commit is contained in:
@@ -28,6 +28,9 @@ PaymentView::balanceHook (AccountID const& account,
|
||||
AccountID const& issuer,
|
||||
STAmount const& amount) const
|
||||
{
|
||||
if (pv_)
|
||||
return tab_.adjustedBalance (
|
||||
account, issuer, pv_->balanceHook (account, issuer, amount));
|
||||
return tab_.adjustedBalance(
|
||||
account, issuer, amount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user