git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix bug with signatures
[electrum-nvc.git]
/
lib
/
deserialize.py
diff --git
a/lib/deserialize.py
b/lib/deserialize.py
index
85ab97c
..
9af5fe0
100644
(file)
--- a/
lib/deserialize.py
+++ b/
lib/deserialize.py
@@
-346,8
+346,8
@@
def get_address_from_input_script(bytes):
redeemScript = decoded[-1][1]
num = len(match) - 2
- signatures = map(lambda x:x[1].encode('hex'), decoded[1:-1])
-
+ signatures = map(lambda x:x[1][:-1].encode('hex'), decoded[1:-1])
+
dec2 = [ x for x in script_GetOp(redeemScript) ]
# 2 of 2