checkpoint

This commit is contained in:
Kasey White 2022-11-23 00:49:01 -05:00 committed by Lucas
parent 1de2640a48
commit e496591ded
1 changed files with 6 additions and 1 deletions

View File

@ -36,5 +36,10 @@ pub fn spend(
let x = datum.rdmr
let y = [datum.fin, 2, 3]
let z = [1, ..y]
True
when z is {
[] -> False
[a,b,c] -> a > 1
[a,b, c,..d] -> b > 1
_other -> False
}
}