Files
numscript/internal/interpreter/testdata/script-tests/do-not-exceed-overdraft-when-double-spending.num
Alessandro ScandoneandGitHub 5dfc34cd3c feat: feature flag syntax (#120)
* feat: feature flag syntax

* feat: change syntax

* feat: reject invalid features

* feat: add static check of unknown features

* feat: more defensive args handling

* fix: fix typo
2026-03-04 13:32:35 +00:00

15 lines
239 B
Plaintext

send [COIN 10] (
source = {
// should pull 2
@s allowing overdraft up to [COIN 2]
// should pull other 3 (otherwise the overdraft exceeds 5)
@s allowing overdraft up to [COIN 5]
@world
}
destination = @dest
)