add explanation comment
authorthomasv <thomasv@gitorious>
Mon, 25 Mar 2013 09:20:16 +0000 (10:20 +0100)
committerthomasv <thomasv@gitorious>
Mon, 25 Mar 2013 09:20:16 +0000 (10:20 +0100)
lib/deserialize.py

index 0dd0a51..85ab97c 100644 (file)
@@ -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)"