aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/credits.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/credits.go')
-rw-r--r--internal/casino/credits.go7
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."
+}