Skip to content
This repository
Browse code

Merge pull request #2308 from apoelstra/safemode-privkey

Enable dumpprivkey in safe mode
  • Loading branch information...
commit 1167af7e5ca7f9bccc383e6ec1feb3edbbefa191 2 parents 69c5609 + 3913a99
Gavin Andresen authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/bitcoinrpc.cpp
2  src/bitcoinrpc.cpp
@@ -246,7 +246,7 @@ static const CRPCCommand vRPCCommands[] =
246 246
     { "getblocktemplate",       &getblocktemplate,       true,   false },
247 247
     { "submitblock",            &submitblock,            false,  false },
248 248
     { "listsinceblock",         &listsinceblock,         false,  false },
249  
-    { "dumpprivkey",            &dumpprivkey,            false,  false },
  249
+    { "dumpprivkey",            &dumpprivkey,            true,   false },
250 250
     { "importprivkey",          &importprivkey,          false,  false },
251 251
     { "listunspent",            &listunspent,            false,  false },
252 252
     { "getrawtransaction",      &getrawtransaction,      false,  false },

0 notes on commit 1167af7

Please sign in to comment.
Something went wrong with that request. Please try again.