commit b5b5edbee7c84132c2cf77a4cbd649c6d6cad305 parent a89abee9690b011031b20c39dc1d48a4b9ec1ceb Author: ThomasV <thomasv@gitorious> Date: Sun, 6 Jul 2014 22:10:26 +0200 add_keypairs: simplification Diffstat:
M | lib/wallet.py | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py @@ -410,9 +410,7 @@ class Abstract_Wallet: break else: continue - - addr = account.get_address(*sequence) - pk = self.get_private_key(addr, password) + pk = account.get_private_key(sequence, self, password) for sec in pk: pubkey = public_key_from_private_key(sec) keypairs[pubkey] = sec