Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed May 29, 2024
1 parent ff0714a commit 44ff3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/auction/keeper/rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (k Keeper) getAllRewardsBids() ([]auction.BidKV, error) {
func (k Keeper) storeAllRewardsBids(elems []auction.BidKV) error {
for _, e := range elems {
key := k.keyRewardsBid(e.Id)
if err := store.SetValue(k.store, key, &e.Bid, "auction.store_all_bids"); err != nil { //nolint: gosec
if err := store.SetValue(k.store, key, &e.Bid, "auction.store_all_bids"); err != nil {
return err
}
}
Expand Down Expand Up @@ -163,7 +163,7 @@ func (k Keeper) storeNewRewardsAuction(id uint32, endsAt time.Time, coins sdk.Co
func (k Keeper) storeAllRewardsAuctions(elems []auction.RewardsKV) error {
for _, e := range elems {
key := k.keyRewardsCoins(e.Id)
if err := store.SetValue(k.store, key, &e.Rewards, "auction.store_all_rewards"); err != nil { //nolint: gosec
if err := store.SetValue(k.store, key, &e.Rewards, "auction.store_all_rewards"); err != nil {
return err
}
}
Expand Down

0 comments on commit 44ff3ae

Please sign in to comment.