remove remaining instances of op_return type
This commit is contained in:
@@ -419,11 +419,6 @@ def get_address_from_output_script(bytes):
|
||||
if match_decoded(decoded, match):
|
||||
return 'address', hash_160_to_bc_address(decoded[1][1],5)
|
||||
|
||||
# OP_RETURN
|
||||
match = [ opcodes.OP_RETURN, opcodes.OP_PUSHDATA4 ]
|
||||
if match_decoded(decoded, match):
|
||||
return 'op_return', decoded[1][1]
|
||||
|
||||
return 'script', bytes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user