From 0d82275d05e9fb81d8d550a58c3d6202bdfce4e5 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Thu, 26 Feb 2015 04:48:03 +0300 Subject: [PATCH] rpc: allow "darksend" only with ENABLE_WALLET --- src/rpcserver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index afbdb69c51..daad7dee1e 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -270,12 +270,12 @@ static const CRPCCommand vRPCCommands[] = { "verifymessage", &verifymessage, false, false, false }, /* Darkcoin features */ - { "darksend", &darksend, false, false, true }, { "spork", &spork, true, false, false }, - { "masternode", &masternode, true, false, true }, - + { "masternode", &masternode, true, false, true }, { "masternodelist", &masternodelist, true, false, false }, #ifdef ENABLE_WALLET + { "darksend", &darksend, false, false, true }, + /* Wallet */ { "addmultisigaddress", &addmultisigaddress, false, false, true }, { "backupwallet", &backupwallet, true, false, true },