Skip to content

Commit b5aa2d1

Browse files
authored
feat(svm): shorten svm chain ids (#817)
Signed-off-by: Pablo Maldonado <[email protected]>
1 parent 3888d71 commit b5aa2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svm/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ethers } from "ethers";
77
*/
88
export const getSolanaChainId = (cluster: "devnet" | "mainnet"): BigNumber => {
99
return BigNumber.from(
10-
BigInt(ethers.utils.keccak256(ethers.utils.toUtf8Bytes(`solana-${cluster}`))) & BigInt("0xFFFFFFFFFFFFFFFF")
10+
BigInt(ethers.utils.keccak256(ethers.utils.toUtf8Bytes(`solana-${cluster}`))) & BigInt("0xFFFFFFFFFFFF")
1111
);
1212
};
1313

0 commit comments

Comments
 (0)