z1_relay_unpaid_filetest.gno
0.34 Kb · 14 lines
1// Relaying through a realm without sending anything gets nothing.
2
3// PKGPATH: gno.land/r/g1zkzjmyveh7euq83h5zhnhj6mg0d7kr35nphzd2/relay
4
5package relay
6
7import "gno.land/r/g15c02s5hhdny9uvr9za3xsyn9sw8p0klptrh6kf/cellar/till"
8
9func main(cur realm) {
10 till.BuyRound(cross(cur))
11}
12
13// Error:
14// till: a round is 100000ugnot; send it with the call