Skip to content

Commit

Permalink
chore: gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
3eyedraga committed Nov 16, 2023
1 parent 0732b81 commit a8cf506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/reward/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestGenesis(t *testing.T) {
UID: uuid.NewString(),
},
},
RewardByRecCatList: []types.RewardByCategory{
RewardByCategoryList: []types.RewardByCategory{
{
UID: uuid.NewString(),
},
Expand Down
2 changes: 1 addition & 1 deletion x/reward/keeper/campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (k Keeper) GetAllCampaign(ctx sdk.Context) (list []types.Campaign) {
}

func (k Keeper) UpdateCampaignPool(ctx sdk.Context, campaign types.Campaign, receiver types.Receiver) {
totalAmount := receiver.SubAccountAmount.Add(receiver.MainAccountAmount) //Fixme: Check if the logic is correct
totalAmount := receiver.SubAccountAmount.Add(receiver.MainAccountAmount) // Fixme: Check if the logic is correct
campaign.Pool.Spent = campaign.Pool.Spent.Add(totalAmount)

k.SetCampaign(ctx, campaign)
Expand Down

0 comments on commit a8cf506

Please sign in to comment.