Skip to content

Commit

Permalink
fix: time drifting in gnodev
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jan 10, 2024
1 parent b1b514c commit f1da45b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contribs/gnodev/pkg/dev/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,5 +402,6 @@ func newNode(logger log.Logger, genesis gnoland.GnoGenesisState) (*node.Node, er

nodeConfig := gnoland.NewDefaultInMemoryNodeConfig(rootdir)
nodeConfig.Genesis.AppState = genesis
nodeConfig.TMConfig.Consensus.SkipTimeoutCommit = false // avoid time drifting, see issue #1507
return gnoland.NewInMemoryNode(logger, nodeConfig)
}

0 comments on commit f1da45b

Please sign in to comment.