Skip to content

Commit

Permalink
chore: fix broken CI (#2538)
Browse files Browse the repository at this point in the history
-> #2537

Signed-off-by: moul <[email protected]>
  • Loading branch information
moul authored Jul 8, 2024
1 parent 1e9260d commit fafc8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gno.land/r/demo/wugnot/wugnot.gno
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Withdraw(amount uint64) {
caller := std.PrevRealm().Addr()
pkgaddr := std.CurrentRealm().Addr()
callerBal := Token.BalanceOf(caller)
require(amount < callerBal, ufmt.Sprintf("Insufficient balance: %d available, %d needed.", callerBal, amount))
require(amount <= callerBal, ufmt.Sprintf("Insufficient balance: %d available, %d needed.", callerBal, amount))

// send swapped ugnots to qcaller
stdBanker := std.GetBanker(std.BankerTypeRealmSend)
Expand Down

0 comments on commit fafc8f6

Please sign in to comment.