Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Municipal Inflation #162

Merged
merged 11 commits into from
Aug 12, 2023
Prev Previous commit
Next Next commit
fix: Municipal Inflation: grpc query error check (#155)
  • Loading branch information
Jonathansumner authored Jul 14, 2023
commit 796eecabe64dab6dad4062d2c8c65ea6eaeb2a3f
2 changes: 1 addition & 1 deletion x/mint/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (k Keeper) MunicipalInflation(c context.Context, req *types.QueryMunicipalI
}

infl, exists := minter.MunicipalInflation[denom]
if exists {
if !exists {
return nil, fmt.Errorf("there is no municipal inflation defined for requested \"%s\" denomination", denom)
}

Expand Down