1
0

transaction.sign: (trivial) nicer log line

This commit is contained in:
SomberNight
2024-09-26 15:09:19 +00:00
parent 9a5edfdd74
commit f2c96ca587

View File

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