Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danil-lashin committed Dec 20, 2019
1 parent 3424f74 commit 05d7f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/minter/minter.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func (app *Blockchain) CheckTx(req abciTypes.RequestCheckTx) abciTypes.ResponseC

// Commit the state and return the application Merkle root hash
func (app *Blockchain) Commit() abciTypes.ResponseCommit {
if app.height > 1 {
if app.height > app.appDB.GetStartHeight() + 1 {
if err := app.stateDeliver.Check(); err != nil {
panic(err)
}
Expand Down

0 comments on commit 05d7f2e

Please sign in to comment.