Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Nov 11, 2024
1 parent 4d3cb47 commit 5e60945
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x/feerefunder/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (k Keeper) StoreFeeInfo(ctx sdk.Context, feeInfo types.FeeInfo) {
store := k.storeService.OpenKVStore(ctx)

bzFeeInfo := k.cdc.MustMarshal(&feeInfo)
store.Set(types.GetFeePacketKey(feeInfo.PacketId), bzFeeInfo)
_ = store.Set(types.GetFeePacketKey(feeInfo.PacketId), bzFeeInfo)
}

func (k Keeper) GetMinFee(ctx sdk.Context) types.Fee {
Expand All @@ -223,7 +223,7 @@ func (k Keeper) GetMinFee(ctx sdk.Context) types.Fee {
func (k Keeper) removeFeeInfo(ctx sdk.Context, packetID types.PacketID) {
store := k.storeService.OpenKVStore(ctx)

store.Delete(types.GetFeePacketKey(packetID))
_ = store.Delete(types.GetFeePacketKey(packetID))
}

func (k Keeper) checkFees(ctx sdk.Context, fees types.Fee) error {
Expand Down
2 changes: 1 addition & 1 deletion x/feerefunder/keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error {
return err
}

store.Set(types.ParamsKey, bz)
_ = store.Set(types.ParamsKey, bz)
return nil
}
2 changes: 1 addition & 1 deletion x/interchaintxs/keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error {
return err
}

store.Set(types.ParamsKey, bz)
_ = store.Set(types.ParamsKey, bz)
return nil
}

0 comments on commit 5e60945

Please sign in to comment.