@xyo-network/xl1-protocol-sdk 1.26.30 → 1.26.31
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
|
@@ -1201,7 +1201,7 @@ async function getWindowedChain(context, blockViewer, maxWindowSize, previousCha
|
|
|
1201
1201
|
const previousChainByHash = new Map(previousChain.map((block) => [block[0]._hash, block]));
|
|
1202
1202
|
const head = await blockViewer.currentBlock();
|
|
1203
1203
|
let currentBlock = head;
|
|
1204
|
-
|
|
1204
|
+
context.logger?.debug("[getWindowedChain] Current Block:", currentBlock?.[0]._hash);
|
|
1205
1205
|
while (currentBlock !== null && newChain.length < maxWindowSize) {
|
|
1206
1206
|
const currentBlockNumber = currentBlock[0].block;
|
|
1207
1207
|
const nextBlock = newChain[0];
|