Skip to content

Commit

Permalink
Lowercase chainId when normalizing (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerts authored Jan 14, 2025
1 parent 203987d commit 3ba1a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/normalizeChainId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import { valueToHex } from './units/valueToHex';
export function normalizeChainId(
value: string | number | bigint | BigNumber
): ChainId {
return valueToHex(value) as ChainId;
return valueToHex(value).toLowerCase() as ChainId;
}

0 comments on commit 3ba1a82

Please sign in to comment.