feat(2pick): tag finish-reward tx as ArenaTwoPickFinish for acquire history

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-09 15:05:37 -04:00
parent c72b692560
commit 259e3ebe29

View File

@@ -313,7 +313,7 @@ public class ArenaTwoPickService : IArenaTwoPickService
var deltas = new List<TwoPickRewardReceivedDto>();
// Open inventory tx for grants.
await using var tx = await _inv.BeginAsync(viewerId);
await using var tx = await _inv.BeginAsync(viewerId, configure: cfg => cfg.Source = GrantSource.ArenaTwoPickFinish);
// Group by RewardGroup, weighted-pick one row per group (Weight==0 excluded).
foreach (var group in rewardRows.GroupBy(r => r.RewardGroup))