diff --git a/packages/configuration-generator/bin/create-genesis-block.js b/packages/configuration-generator/bin/create-genesis-block.js index e13284d52..3dc71edf9 100644 --- a/packages/configuration-generator/bin/create-genesis-block.js +++ b/packages/configuration-generator/bin/create-genesis-block.js @@ -16,10 +16,10 @@ async function run() { symbol: "TѦ", token: "ARK", distribute: true, - premine: "0", - snapshot: { - path: "../../snapshot-19a87c96dbe8ad1be06d33e97cd17f5662eb952c29efd3d8bb00c9c75e7582bc.json", - }, + //premine: "0", + // snapshot: { + // path: "../../snapshot-19a87c96dbe8ad1be06d33e97cd17f5662eb952c29efd3d8bb00c9c75e7582bc.json", + // }, }); } diff --git a/packages/configuration-generator/source/configuration-generator.ts b/packages/configuration-generator/source/configuration-generator.ts index 91748a8b2..4ed8659a0 100644 --- a/packages/configuration-generator/source/configuration-generator.ts +++ b/packages/configuration-generator/source/configuration-generator.ts @@ -103,7 +103,7 @@ export class ConfigurationGenerator { { task: async () => { if (!internalOptions.overwriteConfig && pathExistsSync(this.configurationPath)) { - // throw new Error(`${this.configurationPath} already exists.`); + throw new Error(`${this.configurationPath} already exists.`); } ensureDirSync(this.configurationPath);