forked from bitcoinafterlife/bal-electrum-plugin
WillException.init bug
This commit is contained in:
4
heirs.py
4
heirs.py
@@ -30,11 +30,9 @@ from electrum.transaction import (
|
||||
PartialTransaction,
|
||||
PartialTxInput,
|
||||
PartialTxOutput,
|
||||
TxOutput,
|
||||
TxOutpoint,
|
||||
# TxOutput,
|
||||
)
|
||||
from electrum.payment_identifier import PaymentIdentifier
|
||||
from electrum.util import (
|
||||
bfh,
|
||||
read_json_file,
|
||||
@@ -184,7 +182,7 @@ def prepare_transactions(locktimes, available_utxos, fees, wallet):
|
||||
tx.remove_signatures()
|
||||
txid = tx.txid()
|
||||
if txid is None:
|
||||
raise Exception("txid is none", tx)
|
||||
raise Exception(f"txid is none: {tx}")
|
||||
|
||||
tx.heirs = paid_heirs
|
||||
tx.my_locktime = locktime
|
||||
|
||||
Reference in New Issue
Block a user