change .serializeHex() to .toHex()

BEFORE CHANGE: line 188
console.log(tx.serializeHex())

AFTER CHANGE: 
console.log(tx.toHex())
Merge pull request #1 from JackTanRoo/patch-1

change .serializeHex() to .toHex()