tFix typo. - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 3eca419ef3399c67240780f726835dbab22a85d7
DIR parent 2be906fde2c48c74a2fa0ee17e10ec82db0d7ba9
HTML Author: Neil Booth <kyuupichan@gmail.com>
Date: Mon, 30 Nov 2015 23:47:14 +0900
Fix typo.
One character makes all the difference.
Diffstat:
M lib/transaction.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/transaction.py b/lib/transaction.py
t@@ -646,7 +646,7 @@ class Transaction:
def serialize_input(self, txin, i, for_sig):
# Prev hash and index
s = txin['prevout_hash'].decode('hex')[::-1].encode('hex')
- s = int_to_hex(txin['prevout_n'], 4)
+ s += int_to_hex(txin['prevout_n'], 4)
# Script length, script, sequence
script = self.input_script(txin, i, for_sig)
s += var_int(len(script) / 2)