mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
update epoch in genesis
This commit is contained in:
parent
08ec57c99c
commit
217f52e19e
1 changed files with 2 additions and 1 deletions
|
|
@ -105,7 +105,8 @@ func (w *wizard) makeGenesis() {
|
||||||
|
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println("How many blocks per checkpoint? (default = 990)")
|
fmt.Println("How many blocks per checkpoint? (default = 990)")
|
||||||
genesis.Config.Clique.RewardCheckpoint = uint64(w.readDefaultInt(990))
|
genesis.Config.Clique.Epoch = uint64(w.readDefaultInt(990))
|
||||||
|
genesis.Config.Clique.RewardCheckpoint = genesis.Config.Clique.Epoch
|
||||||
|
|
||||||
default:
|
default:
|
||||||
log.Crit("Invalid consensus engine choice", "choice", choice)
|
log.Crit("Invalid consensus engine choice", "choice", choice)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue