Commit f2ada1a
Fix legacy SCID pruning
We relied on `position` giving us the last index we need to prune, but
this may return `None` when all known legacy SCIDs need to be pruned. In
such cases, we ended up not pruning any of the legacy SCIDs at all.
Rewritten by: Matt Corallo <git@bluematt.me>1 parent c418034 commit f2ada1a
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13233 | 13233 | | |
13234 | 13234 | | |
13235 | 13235 | | |
13236 | | - | |
| 13236 | + | |
13237 | 13237 | | |
13238 | 13238 | | |
13239 | 13239 | | |
13240 | 13240 | | |
13241 | | - | |
13242 | | - | |
13243 | | - | |
13244 | | - | |
13245 | | - | |
| 13241 | + | |
| 13242 | + | |
| 13243 | + | |
| 13244 | + | |
| 13245 | + | |
13246 | 13246 | | |
13247 | | - | |
| 13247 | + | |
13248 | 13248 | | |
13249 | 13249 | | |
13250 | 13250 | | |
| |||
0 commit comments