diff options
author | gary rong <garyrong0905@gmail.com> | 2018-08-22 14:47:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-22 14:47:50 +0800 |
commit | af85d8e2b342aa6feff68cec59db9be3c1e85022 (patch) | |
tree | 0b2f4e17d69b39e478643152312e658deeefdf9e /cmd/utils | |
parent | 6a8b47c880fc55d8095a2894cd00f7984de6090b (diff) | |
download | dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.gz dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.bz2 dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.lz dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.xz dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.zst dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.zip |
cmd, eth: apply default miner recommit setting (#17479)
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index cfca7b4ab..c9a936dd5 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -367,7 +367,7 @@ var ( MinerRecommitIntervalFlag = cli.DurationFlag{ Name: "miner.recommit", Usage: "Time interval to recreate the block being mined.", - Value: 3 * time.Second, + Value: eth.DefaultConfig.MinerRecommit, } // Account settings UnlockedAccountFlag = cli.StringFlag{ |