Skip to content

Commit

Permalink
fix: create mnemonic using the rsk path
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Oct 20, 2023
1 parent 8ef8150 commit 5d58d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/scripts/governance-add-erc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ethTestConfig = JSON.parse(fs.readFileSync(`${testConfigPath}/eth.json`, {
const deployer = new Deployer({ deployWallet: ethers.Wallet.createRandom() });
const provider = web3Provider();
const governorWallet = process.env.MNEMONIC
? Wallet.fromMnemonic(process.env.MNEMONIC, "m/44'/137'/0'/0/1").connect(provider)
? Wallet.fromMnemonic(process.env.MNEMONIC, "m/44'/37310'/0'/0/0").connect(provider)
: new Wallet(Buffer.from(ethTestConfig.account_with_rbtc_cow1_privK, 'hex'), provider);

async function governanceAddToken(address: string) {
Expand Down

0 comments on commit 5d58d1d

Please sign in to comment.