@xyo-network/xl1-protocol-sdk 1.21.0 → 1.21.1
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.
package/dist/neutral/index.mjs
CHANGED
|
@@ -4603,11 +4603,14 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
|
|
|
4603
4603
|
let remainingBlockMap = [];
|
|
4604
4604
|
let remainingBlocks = blocks.map((b, i) => {
|
|
4605
4605
|
if (isHydratedBlockWithHashMeta(b)) {
|
|
4606
|
+
remainingBlockMap.push(i);
|
|
4606
4607
|
return b;
|
|
4607
4608
|
}
|
|
4608
|
-
remainingBlockMap.push(i);
|
|
4609
4609
|
}).filter(exists5);
|
|
4610
|
-
assertEx35(
|
|
4610
|
+
assertEx35(
|
|
4611
|
+
remainingBlockMap.length === remainingBlocks.length,
|
|
4612
|
+
() => `remainingBlockMap length should match remainingBlocks length [${remainingBlockMap.length}/${remainingBlocks.length}]`
|
|
4613
|
+
);
|
|
4611
4614
|
const validationResults = await this.blockValidationViewer.validateBlocks(remainingBlocks);
|
|
4612
4615
|
for (const [i, r] of validationResults.entries()) {
|
|
4613
4616
|
const validated = isHydratedBlockWithHashMeta(r);
|