diff options
Diffstat (limited to 'internal/casino/baccarat.go')
| -rw-r--r-- | internal/casino/baccarat.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/casino/baccarat.go b/internal/casino/baccarat.go index cf8a289..2b2b060 100644 --- a/internal/casino/baccarat.go +++ b/internal/casino/baccarat.go @@ -168,9 +168,9 @@ func (t *baccaratTable) deal() []Event { continue } result, payout, settleErr := settleBaccaratBet(p.lastSpot, p.Wager.Total, playerTotal, bankerTotal, t.Rules) - // The shared settlement path pays before announcing, leaves the - // stake open on any failure (recovery re-applies the owed payout), - // and resolves it only once durable. + // The shared settlement path pays before announcing and leaves the + // stake pending on any failure, so a refund can never be paid on top + // of a payout that was not durable. payoutFailed := settleStakeOutcome(p.Wallet, payout, []string{p.stakeID}, settleErr) publicResult, privateResult := baccaratResultMessages(p.Name, result, payout) if payoutFailed { |
