From 51ca0d5b47608b5049b42e704d6c5b6a9a2a8e5e Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Sat, 9 Dec 2017 20:07:49 +0100 Subject: [PATCH] Move privatesend to rpcwallet.cpp as well after Bitcoin #7307 was backported Allows to compile with no wallet again. --- src/rpc/server.cpp | 1 - src/wallet/rpcwallet.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 2065856615..85c80b1bd9 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -348,7 +348,6 @@ static const CRPCCommand vRPCCommands[] = { "dash", "spork", &spork, true }, { "dash", "getpoolinfo", &getpoolinfo, true }, { "dash", "sentinelping", &sentinelping, true }, - { "dash", "privatesend", &privatesend, false }, }; CRPCTable::CRPCTable() diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 8b2153cd98..6c3a9aaa12 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2778,6 +2778,8 @@ const CRPCCommand vWalletRPCCommands[] = { "wallet", "instantsendtoaddress", &instantsendtoaddress, false }, { "wallet", "dumphdinfo", &dumphdinfo, true }, { "wallet", "importelectrumwallet", &importelectrumwallet, true }, + + { "dash", "privatesend", &privatesend, false }, }; void walletRegisterRPCCommands()