diff --git a/src/ripple/app/misc/impl/AMMUtils.cpp b/src/ripple/app/misc/impl/AMMUtils.cpp index eb077944327..2a3bb4fe34a 100644 --- a/src/ripple/app/misc/impl/AMMUtils.cpp +++ b/src/ripple/app/misc/impl/AMMUtils.cpp @@ -213,8 +213,8 @@ deleteAMMTrustLines( std::shared_ptr& sleItem) -> std::pair { // 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)