Skip to content

Commit

Permalink
fix: set defaultSyncStartBlockNum in init config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jblew committed Dec 6, 2018
1 parent 37b0176 commit 1fde6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/InitAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1fde6a4

Please sign in to comment.