diff --git a/src/xrpld/app/tx/detail/VaultWithdraw.cpp b/src/xrpld/app/tx/detail/VaultWithdraw.cpp index 6279200b7d..ae81037fc7 100644 --- a/src/xrpld/app/tx/detail/VaultWithdraw.cpp +++ b/src/xrpld/app/tx/detail/VaultWithdraw.cpp @@ -148,7 +148,7 @@ VaultWithdraw::preclaim(PreclaimContext const& ctx) } // The destination account must have consented to receive the asset by // creating a RippleState or MPToken - // authType = AuthType::StrongAuth; + authType = AuthType::StrongAuth; } // Destination MPToken (for an MPT) or trust line (for an IOU) must exist diff --git a/src/xrpld/ledger/detail/View.cpp b/src/xrpld/ledger/detail/View.cpp index a7e7f2e7f8..8530f0292f 100644 --- a/src/xrpld/ledger/detail/View.cpp +++ b/src/xrpld/ledger/detail/View.cpp @@ -1133,6 +1133,7 @@ createPseudoAccount( uint256 const& pseudoOwnerKey, SField const& ownerField) { + [[maybe_unused]] auto const& fields = getPseudoAccountFields(); XRPL_ASSERT( std::count_if(