Closed rubensayshi closed 9 years ago
ran into this problem with an OP_RETURN tx.
$byte is a string containing a hex, 0x01 is an int (defined as hex in the code), can't compare them as integers without hexdec($byte).
$byte
0x01
hexdec($byte)
Makes sense, cheers :)
ran into this problem with an OP_RETURN tx.
$byte
is a string containing a hex,0x01
is an int (defined as hex in the code), can't compare them as integers withouthexdec($byte)
.