mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
set default clique period to 1 seconds
This commit is contained in:
parent
25302f4fd0
commit
38c548f25f
@ -213,8 +213,8 @@ proc loadNetworkParams*(cc: CustomChain, cg: var NetworkParams):
|
||||
cc.config.clique.epoch.isSome:
|
||||
cg.config.poaEngine = true
|
||||
|
||||
if cc.config.clique.period.isSome:
|
||||
cg.config.cliquePeriod = cc.config.clique.period.get()
|
||||
# set default clique period to 1 second.
|
||||
cg.config.cliquePeriod = cc.config.clique.period.get(1)
|
||||
|
||||
if cc.config.clique.epoch.isSome:
|
||||
cg.config.cliqueEpoch = cc.config.clique.epoch.get()
|
||||
|
Loading…
x
Reference in New Issue
Block a user