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

shipped production is serving it opened this has it

Landed in pull #13996 · run

opened this

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

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.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs