Skip to content

Commit

Permalink
Simplify totalDonated addition logic
Browse files Browse the repository at this point in the history
  • Loading branch information
stefann-01 committed Oct 11, 2024
1 parent b79ba55 commit b0ae489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gno.land/r/stefann/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func Donate() {
sponsors = append(sponsors, Sponsor{Address: address, Amount: amount})
}

totalDonated = totalDonated.Add(amount)
totalDonated.Add(amount)

totalDonations++

Expand Down

0 comments on commit b0ae489

Please sign in to comment.