diff --git a/src/components/transactions/TxDetails/Summary/SafeTxHashDataRow/index.tsx b/src/components/transactions/TxDetails/Summary/SafeTxHashDataRow/index.tsx index b5bba70bb1..d2a09f2b14 100644 --- a/src/components/transactions/TxDetails/Summary/SafeTxHashDataRow/index.tsx +++ b/src/components/transactions/TxDetails/Summary/SafeTxHashDataRow/index.tsx @@ -17,8 +17,9 @@ export function getDomainHash({ safeAddress: string safeVersion: SafeVersion }): string { + const includeChainId = semverSatisfies(safeVersion, NEW_DOMAIN_TYPE_HASH_VERSION) return TypedDataEncoder.hashDomain({ - ...(semverSatisfies(safeVersion, NEW_DOMAIN_TYPE_HASH_VERSION) && { chainId }), + ...(includeChainId && { chainId }), verifyingContract: safeAddress, }) }