diff --git a/x/uibc/quota/keeper/quota.go b/x/uibc/quota/keeper/quota.go index f2b26edea8..8c9252e1c9 100644 --- a/x/uibc/quota/keeper/quota.go +++ b/x/uibc/quota/keeper/quota.go @@ -223,8 +223,8 @@ func (k Keeper) UndoUpdateQuota(denom string, amount sdkmath.Int) error { } k.SetTokenOutflow(o) - totalOutflowSum := k.GetOutflowSum() - k.SetOutflowSum(totalOutflowSum.Sub(exchangePrice)) + outflowSum := k.GetOutflowSum() + k.SetOutflowSum(outflowSum.Sub(exchangePrice)) return nil }