From 8cb714fb70ed5266a4c02924d9bd22c44cccead7 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 27 Aug 2017 09:22:57 +0200 Subject: [PATCH] fix #2801 --- lib/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction.py b/lib/transaction.py index 16d701f44..58340d7fb 100644 --- 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):