Skip to content

Commit

Permalink
Merge pull request #57 from DevelBlockchain/49-fix-bugs-builds
Browse files Browse the repository at this point in the history
49 fix bugs builds
  • Loading branch information
felipemarts authored Sep 13, 2024
2 parents bee4d79 + b0c25d3 commit 4abcde6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const main = async () => {
delayBlock = lastParam;
}
if (getCmd('-new-chain', /^[a-zA-Z0-9_]+$/)) {
const deployWallet = new Wallet({ seed: wallet });
const deployWallet = new Wallet(wallet);
const zeroBlock = await helper.createNewBlockZero(lastParam, deployWallet, [
ChainConfig.addAdmin(deployWallet.address),
ChainConfig.addValidator(deployWallet.address),
Expand All @@ -196,7 +196,7 @@ const main = async () => {
console.log(`Created new chain ${lastParam}.json`)
}
if (getCmd('-new-chain-local')) {
const deployWallet = new Wallet({ seed: wallet });
const deployWallet = new Wallet(wallet);
const zeroBlock = await helper.createNewBlockZero('local', deployWallet, [
ChainConfig.addAdmin(deployWallet.address),
ChainConfig.addValidator(deployWallet.address),
Expand Down Expand Up @@ -281,4 +281,4 @@ const main = async () => {
console.log(err.message)
}
}
main();
main();

0 comments on commit 4abcde6

Please sign in to comment.