Skip to content

Commit

Permalink
requires pk with 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Nov 29, 2023
1 parent 09c0dfb commit e0f8092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/zero/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Web3 from "web3";

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

const csc = process.env.CHECKPOINT_CONTRACT;
Expand Down

0 comments on commit e0f8092

Please sign in to comment.