* Transaction signing payload is hashed first * Fix tests * Rebuild wasm * Fix tests * Only take payload hash when payload.len > 256 bytes. * Fix tests