Skip to content

Commit

Permalink
Fix interaction of AMM trustline deletion and MPT.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Jun 17, 2024
1 parent 74aaac4 commit 5ec6501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ripple/app/misc/impl/AMMUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ deleteAMMTrustLines(
std::shared_ptr<SLE>& sleItem) -> std::pair<TER, SkipEntry> {
// Skip AMM and MPT
if (nodeType == LedgerEntryType::ltAMM ||
nodeType != LedgerEntryType::ltMPTOKEN ||
nodeType != LedgerEntryType::ltMPTOKEN_ISSUANCE)
nodeType == LedgerEntryType::ltMPTOKEN ||
nodeType == LedgerEntryType::ltMPTOKEN_ISSUANCE)
return {tesSUCCESS, SkipEntry::Yes};
// Should only have the trustlines
if (nodeType != LedgerEntryType::ltRIPPLE_STATE)
Expand Down

0 comments on commit 5ec6501

Please sign in to comment.