electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 0d671e67c51cfab25b67d406857d8bcc14cac7c9
parent 56c490faf08b6053f332841d9a9f41f195b71e8a
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 22 Sep 2016 10:57:28 +0200

sign_transaction: do not stop if a keystore raises an exception

Diffstat:
Mlib/wallet.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -1017,8 +1017,10 @@ class Abstract_Wallet(PrintError): # sign for k in self.get_keystores(): - k.sign_transaction(tx, password) - + try: + k.sign_transaction(tx, password) + except: + continue def get_unused_addresses(self): # fixme: use slots from expired requests