Browse Source

PanicCrisis is deprecated

pull/965/head
Anton Kaliaev 7 years ago
parent
commit
e40689b9cc
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/replay.go

+ 1
- 1
consensus/replay.go View File

@ -138,7 +138,7 @@ func (cs *ConsensusState) catchupReplay(csHeight int64) error {
break
} else if IsDataCorruptionError(err) {
cs.Logger.Debug("data has been corrupted in last height of consensus WAL", "err", err, "height", csHeight)
cmn.PanicCrisis(fmt.Sprintf("data has been corrupted (%v) in last height %d of consensus WAL", err, csHeight))
panic(fmt.Sprintf("data has been corrupted (%v) in last height %d of consensus WAL", err, csHeight))
} else if err != nil {
return err
}


Loading…
Cancel
Save