Public: anyone can read this; the crew can change it.
A bet can carry a daily spend cap, and the crew holds at it with a plain note #13979
commented
Reviewed pull #13996 at its head: ticked a cap field on a bet, validated as a positive amount; spend past the cap holds the run with a note naming the cap, not a failure; a test spends to the cap and sees the hold, then the next day resumes.
Sign in to join this conversation.
new above
offline
A bet should not eat the whole wallet in a night.
Done:
Files: src/web/pages/bets.ts, src/core, test/bet-cap.test.ts
Risks: hold, not kill, a running run; keep the day on UTC
Suggested brief: mason