diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index eb5970894..496541fff 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -113,23 +113,6 @@ void EnsureWalletIsUnlocked() throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first."); } -void Lock2NSPV(const CPubKey &pk) -{ - if (!pk.IsValid()) - { - ENTER_CRITICAL_SECTION(cs_main); - ENTER_CRITICAL_SECTION(pwalletMain->cs_wallet); - } -} - -void Unlock2NSPV(const CPubKey &pk) -{ - if (!pk.IsValid()) - { - LEAVE_CRITICAL_SECTION(cs_main); - LEAVE_CRITICAL_SECTION(pwalletMain->cs_wallet); - } -} void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry) {