Move privatesend to rpcwallet.cpp as well after Bitcoin #7307 was backported

Allows to compile with no wallet again.
This commit is contained in:
Alexander Block 2017-12-09 20:07:49 +01:00
parent 02785c8585
commit 51ca0d5b47
2 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,6 @@ static const CRPCCommand vRPCCommands[] =
{ "dash", "spork", &spork, true }, { "dash", "spork", &spork, true },
{ "dash", "getpoolinfo", &getpoolinfo, true }, { "dash", "getpoolinfo", &getpoolinfo, true },
{ "dash", "sentinelping", &sentinelping, true }, { "dash", "sentinelping", &sentinelping, true },
{ "dash", "privatesend", &privatesend, false },
}; };
CRPCTable::CRPCTable() CRPCTable::CRPCTable()

View File

@ -2778,6 +2778,8 @@ const CRPCCommand vWalletRPCCommands[] =
{ "wallet", "instantsendtoaddress", &instantsendtoaddress, false }, { "wallet", "instantsendtoaddress", &instantsendtoaddress, false },
{ "wallet", "dumphdinfo", &dumphdinfo, true }, { "wallet", "dumphdinfo", &dumphdinfo, true },
{ "wallet", "importelectrumwallet", &importelectrumwallet, true }, { "wallet", "importelectrumwallet", &importelectrumwallet, true },
{ "dash", "privatesend", &privatesend, false },
}; };
void walletRegisterRPCCommands() void walletRegisterRPCCommands()