From 6f3c43aca62a7d33a19f14f6ad7c16891952673a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 15 Sep 2026 19:55:21 -0400 Subject: fix: outstanding-stake ledger, owner backpressure, editor state preservation --- internal/casino/credits.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/casino/credits.go') 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." +} -- cgit v1.2.3