Skip to content

Commit

Permalink
remove ref for temp value
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Feb 29, 2024
1 parent b31353e commit 76b11f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ripple/app/tx/impl/InvariantCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,10 +787,10 @@ ValidClawback::finalize(

if (trustlinesChanged == 1)
{
AccountID const& issuer = tx.getAccountID(sfAccount);
AccountID const issuer = tx.getAccountID(sfAccount);
STAmount const& amount = tx.getFieldAmount(sfAmount);
AccountID const& holder = amount.getIssuer();
STAmount const& holderBalance = accountHolds(
STAmount const holderBalance = accountHolds(
view, holder, amount.getCurrency(), issuer, fhIGNORE_FREEZE, j);

if (holderBalance.signum() < 0)
Expand Down

0 comments on commit 76b11f1

Please sign in to comment.