|
|
|
|
@ -1945,7 +1945,7 @@ class PartialTransaction(Transaction):
|
|
|
|
|
break |
|
|
|
|
if pubkey not in keypairs: |
|
|
|
|
continue |
|
|
|
|
_logger.info(f"adding signature for {pubkey}") |
|
|
|
|
_logger.info(f"adding signature for {pubkey}. spending utxo {txin.prevout.to_str()}") |
|
|
|
|
sec, compressed = keypairs[pubkey] |
|
|
|
|
sig = self.sign_txin(i, sec, bip143_shared_txdigest_fields=bip143_shared_txdigest_fields) |
|
|
|
|
self.add_signature_to_txin(txin_idx=i, signing_pubkey=pubkey, sig=sig) |
|
|
|
|
|