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 93eec42 commit daf1574
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/gno.land/r/nemanya/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ func SponsorGnoProject(projectName string) {
}

func SponsorOtherProject(projectName string) {
address := std.GetOrigCaller()
amount := std.GetOrigSend()
address := std.GetOriginCaller()
amount := std.GetOriginSend()

if amount.AmountOf("ugnot") == 0 {
panic("Donation must include GNOT")
Expand All @@ -267,7 +267,7 @@ func Withdraw() string {
}

banker := std.GetBanker(std.BankerTypeRealmSend)
realmAddress := std.GetOrigPkgAddr()
realmAddress := std.GetOriginPkgAddress()
coins := banker.GetCoins(realmAddress)

if len(coins) == 0 {
Expand Down

0 comments on commit daf1574

Please sign in to comment.