From 1fde6a4326e503e3f958048950480051ab18ec90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Lewandowski?= Date: Thu, 6 Dec 2018 18:07:07 +0100 Subject: [PATCH] fix: set defaultSyncStartBlockNum in init config --- src/actions/InitAction.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions/InitAction.ts b/src/actions/InitAction.ts index beda4b5..1ef7069 100644 --- a/src/actions/InitAction.ts +++ b/src/actions/InitAction.ts @@ -126,6 +126,7 @@ export class InitAction { username: username, postingWif: (savePostingKey ? postingKey : ""), defaultRulesPath: path.relative(path.dirname(configPath), rulesPath), + defaultSyncStartBlockNum: sinceBlock, syncedBlockNumFile: path.relative(path.dirname(configPath), syncedBlockNumPath), }); fs.writeFileSync(configPath, yaml.safeDump(configObj));