diff --git a/packages/client/src/transactions/sign_and_send.ts b/packages/client/src/transactions/sign_and_send.ts index c555d3f6f..ef3736e01 100644 --- a/packages/client/src/transactions/sign_and_send.ts +++ b/packages/client/src/transactions/sign_and_send.ts @@ -15,7 +15,7 @@ const DEFAULT_FINALITY: BlockReference = { finality: 'final' }; * @param signer MessageSigner */ export async function signTransaction({ transaction, deps: { signer } }: SignTransactionParams) { - const encodedTx = transaction.encode(); + const encodedTx = new Uint8Array(sha256.sha256.array(transaction.encode())); const signedTransaction = new SignedTransaction({ transaction, signature: new Signature({