change .serializeHex() to .toHex()

BEFORE CHANGE: line 188
console.log(tx.serializeHex())

AFTER CHANGE: 
console.log(tx.toHex())