Browse Source

cleanup on error handling when a transaction is cancelled

master
Darin Stanchfield 10 years ago
parent
commit
c73ea700e1
  1. 3
      plugins/keepkey.py

3
plugins/keepkey.py

@ -238,8 +238,9 @@ class Plugin(BasePlugin):
try:
signed_tx = client.sign_tx('Bitcoin', inputs, outputs)[1]
except Exception, e:
self.handler.stop()
give_error(e)
finally:
self.handler.stop()
raw = signed_tx.encode('hex')

Loading…
Cancel
Save