Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySciTech committed Nov 30, 2023
1 parent c2202a1 commit 5677b07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/service/zero/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import Web3 from "web3";

let account: PrivateKeyAccount = null;
if (process.env.PARENTNET_ZERO_WALLET_PK) {
account = privateKeyToAccount((process.env.PARENTNET_ZERO_WALLET_PK as `0x${string}`));
account = privateKeyToAccount(
("0x" + process.env.PARENTNET_ZERO_WALLET_PK) as any
);
}

const csc = process.env.CHECKPOINT_CONTRACT;
Expand Down

0 comments on commit 5677b07

Please sign in to comment.