URI: 
       tshow error message raised during sign_transaction. see issue #1422 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 578a83fa30cb9368d50c9c9fb84001a4a6e9354b
   DIR parent 695aebaa803d720453478687116941ddc0fc0c17
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 27 Aug 2015 08:22:02 +0200
       
       show error message raised during sign_transaction. see issue #1422
       
       Diffstat:
         M lib/wallet.py                       |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1023,7 +1023,12 @@ class Abstract_Wallet(object):
                # Sign
                if keypairs:
                    tx.sign(keypairs)
       +        # Run hook, and raise if error
       +        tx.error = None
                run_hook('sign_transaction', tx, password)
       +        if tx.error:
       +            raise BaseException(tx.error)
       +
        
            def sendtx(self, tx):
                # synchronous