mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
update genesis.Config.Clique.Epoch
This commit is contained in:
parent
c8c71dc500
commit
62118bea51
1 changed files with 3 additions and 2 deletions
|
|
@ -160,8 +160,9 @@ func (w *wizard) makeGenesis() {
|
||||||
|
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println("How many blocks per epoch? (default = 900)")
|
fmt.Println("How many blocks per epoch? (default = 900)")
|
||||||
epochNumber := w.readDefaultInt(900)
|
epochNumber := uint64(w.readDefaultInt(900))
|
||||||
genesis.Config.XDPoS.RewardCheckpoint = uint64(epochNumber)
|
genesis.Config.XDPoS.Epoch = genesis.Config.XDPoS.RewardCheckpoint
|
||||||
|
genesis.Config.XDPoS.RewardCheckpoint = epochNumber
|
||||||
|
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println("How many blocks before checkpoint need to prepare new set of masternodes? (default = 450)")
|
fmt.Println("How many blocks before checkpoint need to prepare new set of masternodes? (default = 450)")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue