Skip to content

Commit

Permalink
uses exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Sep 9, 2024
1 parent f5ed98b commit af86095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrpld/ledger/detail/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ rippleCredit(
auto const mptID = keylet::mptIssuance(saAmount.issue().getMptID());
auto const issuer = saAmount.getIssuer();

if (!view.peek(mptID))
if (!view.exists(mptID))
return tecMPT_ISSUANCE_NOT_FOUND;

if (uSenderID == issuer)
Expand Down

0 comments on commit af86095

Please sign in to comment.