From 048caf7a997fea4f271b14a67678c4f68ee122c8 Mon Sep 17 00:00:00 2001 From: Fredrick Date: Tue, 10 Sep 2013 16:07:09 -0400 Subject: [PATCH] Fix dumpprivkeys --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 610ee0ce..5e105d9d 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -155,7 +155,7 @@ class Commands: def dumpprivkeys(self, addresses = None): if addresses is None: addresses = self.wallet.addresses(True) - return self.wallet.get_private_keys(addresses, self.password) + return [self.wallet.get_private_key(address, self.password) for address in addresses] def validateaddress(self,addr): isvalid = is_valid(addr)