Whitecoin compatibility

Changes to hex