diff options
| author | historia <[not public]> | 2026-09-18 20:11:29 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-18 20:11:29 -0400 |
| commit | 0f812ccc307ea0550511ccced40b65dfb0cdaa91 (patch) | |
| tree | 7f2f343985275a478ba7295a37fcd48871ca4956 /internal/casino/credits.go | |
| parent | 79764732406d6484f67d3dec045483dcb5d08c28 (diff) | |
| download | thehouseoficarus-0f812ccc307ea0550511ccced40b65dfb0cdaa91.tar.gz | |
fix: world and casino integrity fixes
Diffstat (limited to 'internal/casino/credits.go')
| -rw-r--r-- | internal/casino/credits.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/casino/credits.go b/internal/casino/credits.go index 631a4bc..19364da 100644 --- a/internal/casino/credits.go +++ b/internal/casino/credits.go @@ -76,6 +76,10 @@ func walletErrorMessage(err error, context ...string) string { // 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. +// payoutFailedMessage explains a settlement the wallet could not apply right +// now. This covers both a persistence failure and a credit-cap block (the +// journal record stays open either way), so it must not assert a persistence +// failure as the cause. Recovery re-applies the owed amount. func payoutFailedMessage() string { - return "The house could not process your payout (persistence failure). Your settlement is recorded and will be restored when you return." + return "The house could not process your payout right now. Your settlement is recorded and will be restored when you return." } |
