Prefixes a hexa-decimal string with 0x.
0x
Parameters:
a hex-string to be prefixed.
Returns:
a prefixed hex-string.
74 75 76
# File 'lib/eth/util.rb', line 74 def prefix_hex(hex) "0x#{remove_hex_prefix hex}" end