From 68e3b8abe37282cb03ee8e968bdc090cef6ed7d1 Mon Sep 17 00:00:00 2001 From: fudongbai <296179868@qq.com> Date: Fri, 14 Aug 2020 11:59:52 +0800 Subject: [PATCH] clear the check info --- x/slashing/params.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/slashing/params.go b/x/slashing/params.go index 1412161fe..a38af8c02 100644 --- a/x/slashing/params.go +++ b/x/slashing/params.go @@ -60,7 +60,7 @@ func (p *Params) UpdateCheck() error { return fmt.Errorf("the max_evidence_age should be in range 1 minutes to 100 day") } if p.DoubleSignUnbondDuration < 1*time.Hour { - return fmt.Errorf("the double_sign_unbond_duration should be greate than 1 hour") + return fmt.Errorf("the double_sign_unbond_duration should be no less than 1 hour") } if p.DowntimeUnbondDuration < 60*time.Second || p.DowntimeUnbondDuration > 100*24*time.Hour { return fmt.Errorf("the downtime_unbond_duration should be in range 1 minutes to 100 day") @@ -69,7 +69,7 @@ func (p *Params) UpdateCheck() error { return fmt.Errorf("the too_low_del_unbond_duration should be in range 1 minutes to 100 day") } if p.DoubleSignSlashAmount < 1e8 { - return fmt.Errorf("the double_sign_slash_amount should be larger than 1e8") + return fmt.Errorf("the double_sign_slash_amount should be no less than 1e8") } if p.DowntimeSlashAmount < 1e8 || p.DowntimeSlashAmount > 10000e8 { return fmt.Errorf("the downtime_slash_amount should be in range 1e8 to 10000e8")