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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user