HDNode: fix error spelling
Transaction: add assertion that scriptPubKey exists