ThomasV 7 years ago
parent
commit
064b59c65e
  1. 1
      lib/transaction.py

1
lib/transaction.py

@ -831,6 +831,7 @@ class Transaction:
assert public_key.verify_digest(sig, pre_hash, sigdecode = ecdsa.util.sigdecode_der) assert public_key.verify_digest(sig, pre_hash, sigdecode = ecdsa.util.sigdecode_der)
txin['signatures'][j] = sig.encode('hex') + '01' txin['signatures'][j] = sig.encode('hex') + '01'
txin['x_pubkeys'][j] = pubkey txin['x_pubkeys'][j] = pubkey
txin['pubkeys'][j] = pubkey # needed for fd keys
self._inputs[i] = txin self._inputs[i] = txin
print_error("is_complete", self.is_complete()) print_error("is_complete", self.is_complete())
self.raw = self.serialize() self.raw = self.serialize()

Loading…
Cancel
Save