Skip to content

Commit

Permalink
Merge pull request #786 from MinterTeam/3.0.x
Browse files Browse the repository at this point in the history
grace
  • Loading branch information
klim0v committed Apr 13, 2022
2 parents fac99ac + f026a63 commit 9d1a233
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions coreV2/minter/blockchain.go
Expand Up @@ -204,10 +204,10 @@ func (blockchain *Blockchain) initState() {
blockchain.grace = upgrades.NewGrace()
blockchain.grace.AddGracePeriods(upgrades.NewGracePeriod(initialHeight, initialHeight+120, true))

//for _, v := range blockchain.UpdateVersions() {
// blockchain.grace.AddGracePeriods(graceForUpdate(v.Height))
// blockchain.executor = GetExecutor(v.Name)
//}
for _, v := range blockchain.UpdateVersions() {
blockchain.grace.AddGracePeriods(graceForUpdate(v.Height))
blockchain.executor = GetExecutor(v.Name)
}

}

Expand Down

0 comments on commit 9d1a233

Please sign in to comment.