@xyo-network/xl1-protocol-sdk 1.26.17 → 1.26.18

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.
@@ -4053,8 +4053,7 @@ var SimpleBlockValidationViewer = class extends AbstractCreatableProvider {
4053
4053
  const windowedUncleChain = await this.updateWindowedChainCache();
4054
4054
  const uncles = findUncles(this.context, windowedUncleChain, blocks);
4055
4055
  if (uncles.length !== 1) {
4056
- this.logger?.warn(JSON.stringify({ uncles, blocks }, null, 2));
4057
- this.logger?.warn(JSON.stringify(windowedUncleChain, null, 2));
4056
+ this.logger?.warn(JSON.stringify({ uncles, blocks: blocks.length }, null, 2));
4058
4057
  throw new Error(`No uncles or greater than one uncle found in block validation, which is not supported [${uncles.length}, ${blocks.length}]`);
4059
4058
  }
4060
4059
  return await Promise.all(uncles[0].map(async (block) => {