diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1bf0748212..731186605a 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -108,14 +108,14 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry) // Add opt-in RBF status std::string rbfStatus = "no"; - if (confirms <= 0) { - LOCK(mempool.cs); - RBFTransactionState rbfState = IsRBFOptIn(wtx, mempool); - if (rbfState == RBF_TRANSACTIONSTATE_UNKNOWN) - rbfStatus = "unknown"; - else if (rbfState == RBF_TRANSACTIONSTATE_REPLACEABLE_BIP125) - rbfStatus = "yes"; - } +// if (confirms <= 0) { +// LOCK(mempool.cs); +// RBFTransactionState rbfState = IsRBFOptIn(wtx, mempool); +// if (rbfState == RBF_TRANSACTIONSTATE_UNKNOWN) +// rbfStatus = "unknown"; +// else if (rbfState == RBF_TRANSACTIONSTATE_REPLACEABLE_BIP125) +// rbfStatus = "yes"; +// } entry.push_back(Pair("bip125-replaceable", rbfStatus)); for (const std::pair& item : wtx.mapValue)