|
@ -1023,7 +1023,12 @@ class Abstract_Wallet(object): |
|
|
# Sign |
|
|
# Sign |
|
|
if keypairs: |
|
|
if keypairs: |
|
|
tx.sign(keypairs) |
|
|
tx.sign(keypairs) |
|
|
|
|
|
# Run hook, and raise if error |
|
|
|
|
|
tx.error = None |
|
|
run_hook('sign_transaction', tx, password) |
|
|
run_hook('sign_transaction', tx, password) |
|
|
|
|
|
if tx.error: |
|
|
|
|
|
raise BaseException(tx.error) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def sendtx(self, tx): |
|
|
def sendtx(self, tx): |
|
|
# synchronous |
|
|
# synchronous |
|
|