def verify_transaction(signed_hextx, op_return_value):
logging.info('<STR_LIT>')<EOL>op_return_hash = signed_hextx[-<NUM_LIT>:-<NUM_LIT:8>]<EOL>result = (op_return_value == op_return_hash)<EOL>if not result:<EOL><INDENT>error_message = '<STR_LIT>'<EOL>raise UnverifiedTransactionError(error_message)<EOL><DEDENT>logging.info('<STR_LIT>')<EOL>
Verify OP_RETURN field in transaction
:param signed_hextx:
:param op_return_value:
:return: