fix transaction hashing (was using Message.getHash incorrectly).

Fix transaction hashing. Seems it was refactored to use Message.getHash, but that function adds more data to be hashed.