diff options
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." } |
