diff --git a/types/priv_validator/json.go b/types/priv_validator/json.go index 3acaa6e2..5c0849eb 100644 --- a/types/priv_validator/json.go +++ b/types/priv_validator/json.go @@ -90,17 +90,17 @@ func (pvj *PrivValidatorJSON) Save() { func (pvj *PrivValidatorJSON) save() { if pvj.filePath == "" { - cmn.PanicSanity("Cannot save PrivValidator: filePath not set") + panic("Cannot save PrivValidator: filePath not set") } jsonBytes, err := json.Marshal(pvj) if err != nil { // ; BOOM!!! - cmn.PanicCrisis(err) + panic(err) } err = cmn.WriteFileAtomic(pvj.filePath, jsonBytes, 0600) if err != nil { // ; BOOM!!! - cmn.PanicCrisis(err) + panic(err) } }