@xyo-network/xl1-protocol-sdk 1.21.5 → 1.21.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4608,7 +4608,12 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
4608
4608
  const bundles = blocksAndBundles.map(([_, p]) => p);
4609
4609
  let valid = blocks.map((b) => !!b);
4610
4610
  let remainingBlockMap = [];
4611
- let remainingBlocks = blocks.filter(exists5);
4611
+ let remainingBlocks = blocks.map((b, i) => {
4612
+ if (b) {
4613
+ remainingBlockMap.push(i);
4614
+ return b;
4615
+ }
4616
+ }).filter(exists5);
4612
4617
  assertEx35(
4613
4618
  remainingBlockMap.length === remainingBlocks.length,
4614
4619
  () => `remainingBlockMap length should match remainingBlocks length [${remainingBlockMap.length}/${remainingBlocks.length}]`