Skip to content

Commit

Permalink
Merge pull request ethereum#101 from nguyenbatam/update_epoch_in_genesis
Browse files Browse the repository at this point in the history
update epoch in genesis
  • Loading branch information
nguyenbatam authored Jul 26, 2018
2 parents 08ec57c + 217f52e commit 5c4cf69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/puppeth/wizard_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func (w *wizard) makeGenesis() {

fmt.Println()
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:
log.Crit("Invalid consensus engine choice", "choice", choice)
Expand Down

0 comments on commit 5c4cf69

Please sign in to comment.