diff options
| author | historia <[not public]> | 2026-09-15 19:55:21 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-15 19:55:21 -0400 |
| commit | 6f3c43aca62a7d33a19f14f6ad7c16891952673a (patch) | |
| tree | 0b0665ef624ef442df87ec7131129aaecc3420bd /internal/casino/credits.go | |
| parent | cd95de60364aba8f5bdf8ec86f7234a9903eacc8 (diff) | |
| download | thehouseoficarus-6f3c43aca62a7d33a19f14f6ad7c16891952673a.tar.gz | |
fix: outstanding-stake ledger, owner backpressure, editor state preservation
Diffstat (limited to 'internal/casino/credits.go')
| -rw-r--r-- | internal/casino/credits.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/casino/credits.go b/internal/casino/credits.go index ce47d41..2b4e2d7 100644 --- a/internal/casino/credits.go +++ b/internal/casino/credits.go @@ -82,3 +82,10 @@ func walletErrorMessage(err error, context ...string) string { } return "You don't have enough chips and credits for that bet." } + +// payoutFailedMessage explains a settlement the wallet could not persist: +// the journal record for the payout stays open, so startup recovery will +// re-apply the owed amount. Games must NOT announce such a payout as paid. +func payoutFailedMessage() string { + return "The house could not process your payout (persistence failure). Your settlement is recorded and will be restored when you return." +} |
