Skip to content

Commit 4407595

Browse files
committed
Update validateTypedSignMessageDataV3V4 signature
The `chainId` parameter is now `Hex | undefined` rather than an optional `Hex`, to make it more compatible with the `exactOptionalPropertyTypes` option (which we plan on enabling in the future).
1 parent e9d6530 commit 4407595

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/message-manager/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export function validateTypedSignMessageDataV1(
9494
*/
9595
export function validateTypedSignMessageDataV3V4(
9696
messageData: TypedMessageParams,
97-
currentChainId?: Hex,
97+
currentChainId: Hex | undefined,
9898
) {
9999
validateAddress(messageData.from, 'from');
100100

0 commit comments

Comments
 (0)