electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 88bbaf0950a8d4ab9c29b1849d8c55a0affc1894
parent 2e567fc86a4d4e85240d948db988eb4df877ee40
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 27 Aug 2017 14:03:53 +0200

postpone x_pubkeys replacement (fix #2738)

Diffstat:
Mlib/transaction.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/transaction.py b/lib/transaction.py @@ -566,7 +566,7 @@ class Transaction: j = pubkeys.index(pubkey) print_error("adding sig", i, j, pubkey, sig) self._inputs[i]['signatures'][j] = sig - self._inputs[i]['x_pubkeys'][j] = pubkey + #self._inputs[i]['x_pubkeys'][j] = pubkey break # redo raw self.raw = self.serialize() @@ -831,7 +831,7 @@ class Transaction: sig = private_key.sign_digest_deterministic(pre_hash, hashfunc=hashlib.sha256, sigencode = ecdsa.util.sigencode_der) assert public_key.verify_digest(sig, pre_hash, sigdecode = ecdsa.util.sigdecode_der) txin['signatures'][j] = bh2u(sig) + '01' - txin['x_pubkeys'][j] = pubkey + #txin['x_pubkeys'][j] = pubkey txin['pubkeys'][j] = pubkey # needed for fd keys self._inputs[i] = txin print_error("is_complete", self.is_complete())