From e40689b9cce2dc04b0a26eb82e0489726568a72a Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Fri, 15 Dec 2017 11:59:45 -0600 Subject: [PATCH] PanicCrisis is deprecated --- consensus/replay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/replay.go b/consensus/replay.go index db62a4cfe..799f1b84c 100644 --- a/consensus/replay.go +++ b/consensus/replay.go @@ -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 }