diff --git a/staker/manage_pool_tier_and_warmup.gno b/staker/manage_pool_tier_and_warmup.gno index 9dbdf5314..efe71faed 100644 --- a/staker/manage_pool_tier_and_warmup.gno +++ b/staker/manage_pool_tier_and_warmup.gno @@ -147,6 +147,8 @@ func pctToIndex(pct int64) int { return 2 case 100: return 3 + default: + panic(ufmt.Sprintf("invalid pct(%d)", pct)) } }