Skip to content

Commit

Permalink
Revert "DData: Fix BCL update causing DeltaPropagationSelector throwi…
Browse files Browse the repository at this point in the history
…ng Index…" (#7483)

This reverts commit 5c7c967.
  • Loading branch information
Aaronontheweb authored Jan 22, 2025
1 parent 84b767a commit e52b815
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ public ImmutableDictionary<Address, DeltaPropagation> CollectPropagations()
else
{
var i = (int)(_deltaNodeRoundRobinCounter % all.Length);
var endIndex = i + sliceSize;
if (endIndex > all.Length) endIndex = all.Length;
slice = all[i..endIndex];
slice = all.Slice(i, sliceSize).ToImmutableArray();

if (slice.Length != sliceSize)
slice = slice.AddRange(all.Take(sliceSize - slice.Length));
Expand Down

0 comments on commit e52b815

Please # to comment.