diff --git a/src/ripple/ledger/impl/View.cpp b/src/ripple/ledger/impl/View.cpp index c6d4bcb98fa..521207c76b4 100644 --- a/src/ripple/ledger/impl/View.cpp +++ b/src/ripple/ledger/impl/View.cpp @@ -1563,7 +1563,9 @@ requireAuth(ReadView const& view, Issue const& issue, AccountID const& account) sle && sle->getFieldU32(sfFlags) & lsfMPTRequireAuth) { auto const mptokenID = keylet::mptoken(mptID.key, account); - if (auto const tokSle = view.read(mptokenID); (sle->getFlags() & lsfMPTRequireAuth) && !(tokSle->getFlags() & lsfMPTAuthorized)) + if (auto const tokSle = view.read(mptokenID); + (sle->getFlags() & lsfMPTRequireAuth) && + !(tokSle->getFlags() & lsfMPTAuthorized)) return TER{tecNO_AUTH}; } return tesSUCCESS;