commit 39799592ed7bc773ad6de9bd8e3731b3f8047ff1
parent 8d339bfc1a8daa3de91c9d3df0ac3888794bb555
Author: thomasv <thomasv@gitorious>
Date: Mon, 25 Mar 2013 10:20:16 +0100
add explanation comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/deserialize.py b/lib/deserialize.py
@@ -326,6 +326,7 @@ def get_address_from_input_script(bytes):
try:
decoded = [ x for x in script_GetOp(bytes) ]
except:
+ # coinbase transactions raise an exception
print_error("cannot find address in input script", bytes.encode('hex'))
return [], [], "(None)"