aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-02-22 08:50:12 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-02-22 08:50:12 -0800
commit1167af7e5ca7f9bccc383e6ec1feb3edbbefa191 (patch)
treed5a0cf880374b225b5620710abfb4337ac938682
parent69c560969988c120721f0294df7f42e80c262f65 (diff)
parent3913a99087961c64f225b275eaa90a1a621f45af (diff)
Merge pull request #2308 from apoelstra/safemode-privkey
Enable dumpprivkey in safe mode
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 7751e4c8b6..230a248422 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -246,7 +246,7 @@ static const CRPCCommand vRPCCommands[] =
{ "getblocktemplate", &getblocktemplate, true, false },
{ "submitblock", &submitblock, false, false },
{ "listsinceblock", &listsinceblock, false, false },
- { "dumpprivkey", &dumpprivkey, false, false },
+ { "dumpprivkey", &dumpprivkey, true, false },
{ "importprivkey", &importprivkey, false, false },
{ "listunspent", &listunspent, false, false },
{ "getrawtransaction", &getrawtransaction, false, false },