Files
numscript/internal/interpreter/testdata/script-tests/cascading-sources.num
Alessandro ScandoneandGitHub db978f043e test: address pr comments (#86)
* test: moved testdata folder
* test: make test parallel
* chore: remove comments
2025-07-24 12:16:55 +02:00

15 lines
342 B
Plaintext

send [USD/2 10000] (
source = {
// first, pull from the user balance
@users:1234:main
// then, pull from the user's vouchers,
// fairly using the ones that expire first
@users:1234:vouchers:2024-01-31
@users:1234:vouchers:2024-02-17
@users:1234:vouchers:2024-03-22
}
destination = @orders:4567:payment
)