From 563a7d99b9c0a471f3f7512581ff159307af38ff Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 5 May 2014 09:11:36 +0200 Subject: [PATCH] rename command dumpprivkey as getprivatekeys --- lib/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index a463a8a04..1e18c4889 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -63,8 +63,8 @@ register_command('createmultisig', 2, 2, False, True, False, 'similar to register_command('createrawtransaction', 2, 2, False, True, False, 'similar to bitcoind\'s command') register_command('deseed', 0, 0, False, True, False, 'Remove seed from wallet, creating a seedless, watching-only wallet.') register_command('decoderawtransaction', 1, 1, False, False, False, 'similar to bitcoind\'s command') -register_command('dumpprivkey', 1, 1, False, True, True, 'Dumps a specified private key for a given address', 'dumpprivkey ') -register_command('dumpprivkeys', 0, 0, False, True, True, 'dump all private keys') +register_command('getprivatekeys', 1, 1, False, True, True, 'Get the private keys of a given address', 'dumpprivkey ') +register_command('dumpprivkeys', 0, 0, False, True, True, 'Dump all private keys in your wallet') register_command('freeze', 1, 1, False, True, True, 'Freeze the funds at one of your wallet\'s addresses', 'freeze
') register_command('getbalance', 0, 1, True, True, False, 'Return the balance of your wallet, or of one account in your wallet', 'getbalance []') register_command('getservers', 0, 0, True, False, False, 'Return the list of available servers') @@ -193,7 +193,7 @@ class Commands: def unfreeze(self,addr): return self.wallet.unfreeze(addr) - def dumpprivkey(self, addr): + def getprivatekeys(self, addr): return self.wallet.get_private_key(addr, self.password) def dumpprivkeys(self, addresses = None):