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