Skip to content

Commit

Permalink
refactor: refactor new added code
Browse files Browse the repository at this point in the history
  • Loading branch information
hieu.ha committed Dec 30, 2024
1 parent daf1574 commit ec5c4f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/gno.land/r/nemanya/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ func isAuthorized(addr std.Address) bool {
}

func SponsorGnoProject(projectName string) {
address := std.GetOriginCaller()
amount := std.GetOriginSend()
address := std.OriginCaller()
amount := std.OriginSend()

if amount.AmountOf("ugnot") == 0 {
panic("Donation must include GNOT")
Expand All @@ -239,8 +239,8 @@ func SponsorGnoProject(projectName string) {
}

func SponsorOtherProject(projectName string) {
address := std.GetOriginCaller()
amount := std.GetOriginSend()
address := std.OriginCaller()
amount := std.OriginSend()

if amount.AmountOf("ugnot") == 0 {
panic("Donation must include GNOT")
Expand Down

0 comments on commit ec5c4f1

Please sign in to comment.