Skip to content

Commit

Permalink
const ref param
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Jan 22, 2025
1 parent 0409265 commit d1d0abb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/xrpld/ledger/View.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ isFrozen(ReadView const& view, AccountID const& account, Asset const& asset)
isLPTokenFrozen(
ReadView const& view,
AccountID const& account,
Issue asset,
Issue asset2);
Issue const& asset,
Issue const& asset2);

// Returns the amount an account can spend without going into debt.
//
Expand Down
4 changes: 2 additions & 2 deletions src/xrpld/ledger/detail/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ bool
isLPTokenFrozen(
ReadView const& view,
AccountID const& account,
Issue asset,
Issue asset2)
Issue const& asset,
Issue const& asset2)
{
return isFrozen(view, account, asset.currency, asset.account) ||
isFrozen(view, account, asset2.currency, asset2.account);
Expand Down

0 comments on commit d1d0abb

Please sign in to comment.