commit 8cb714fb70ed5266a4c02924d9bd22c44cccead7
parent 9ee10ab3e1d497a28d5783f6acd6861e9656dcd5
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 27 Aug 2017 09:22:57 +0200
fix #2801
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/transaction.py b/lib/transaction.py
@@ -393,7 +393,7 @@ def get_address_from_output_script(_bytes):
if match_decoded(decoded, match):
return TYPE_ADDRESS, hash160_to_p2sh(decoded[1][1])
- return TYPE_SCRIPT, _bytes
+ return TYPE_SCRIPT, bh2u(_bytes)
def parse_input(vds):