Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
fix restart node with empty tomox state
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenbatam committed Oct 31, 2019
1 parent 275c3d4 commit b926559
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,11 @@ func (bc *BlockChain) repair(head **types.Block) error {
return nil
}
}
} else {
return nil
}
} else {
return nil
}
}
// Otherwise rewind one block and recheck state availability there
Expand Down

0 comments on commit b926559

Please sign in to comment.