Skip to content

Commit

Permalink
Merge pull request #727 from comdex-official/resolve-error
Browse files Browse the repository at this point in the history
resolve struct error
  • Loading branch information
dheerajkd30 authored Mar 22, 2023
2 parents 410d493 + 7c09684 commit 7fd8246
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/upgrades/mainnet/v10/failed_rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

type Reward struct {
Address string `json:"address"`
Reward sdk.Coin `json:reward`
Reward sdk.Coin `json:"reward"`
}

func DistributeRewards(
Expand Down
1 change: 0 additions & 1 deletion x/lend/keeper/pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ func (k Keeper) GetLendPairID(ctx sdk.Context) uint64 {

func (k Keeper) AddAssetRatesParams(ctx sdk.Context, records ...types.AssetRatesParams) error {
for _, msg := range records {

assetRatesParams := types.AssetRatesParams{
AssetID: msg.AssetID,
UOptimal: msg.UOptimal,
Expand Down

0 comments on commit 7fd8246

Please sign in to comment.