Skip to content

Commit 05d7f2e

Browse files
committed
Fix
1 parent 3424f74 commit 05d7f2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/minter/minter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func (app *Blockchain) CheckTx(req abciTypes.RequestCheckTx) abciTypes.ResponseC
389389

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

0 commit comments

Comments
 (0)