Skip to content

Commit

Permalink
Dropping unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
pbukva committed Sep 5, 2023
1 parent 64f2fd0 commit c3f2457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/mint/cache/municipal_inflation_cahe.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (cache *MunicipalInflationCache) GetInflation(denom string) *MunicipalInfla

infl, exists := val.(*MunicipalInflationCacheInternal).inflations[denom]

if exists && infl != nil {
if exists {
return infl
}

Expand Down

0 comments on commit c3f2457

Please sign in to comment.