Skip to content

Commit

Permalink
get issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Dec 18, 2024
1 parent 2d78d39 commit 7f60ca9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/xrpld/app/paths/detail/StepChecks.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ checkFreeze(
return tecINTERNAL;

if (isLPTokenFrozen(
view, src, (*sleAmm)[sfAsset], (*sleAmm)[sfAsset2]))
view,
src,
(*sleAmm)[sfAsset].get<Issue>(),
(*sleAmm)[sfAsset2].get<Issue>()))
{
return terNO_LINE;
}
Expand Down
5 changes: 4 additions & 1 deletion src/xrpld/ledger/detail/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,10 @@ accountHolds(

if ((zeroIfFrozen == fhZERO_IF_FROZEN) &&
isLPTokenFrozen(
view, account, (*sleAmm)[sfAsset], (*sleAmm)[sfAsset2]))
view,
account,
(*sleAmm)[sfAsset].get<Issue>(),
(*sleAmm)[sfAsset2].get<Issue>()))
{
amount.clear(Issue{currency, issuer});
}
Expand Down

0 comments on commit 7f60ca9

Please sign in to comment.