@leofcoin/chain 1.8.3 → 1.8.4
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/exports/browser/chain.js +0 -1
- package/exports/chain.js +0 -1
- package/package.json +1 -1
package/exports/browser/chain.js
CHANGED
|
@@ -4580,7 +4580,6 @@ class Machine {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
async addLoadedBlock(block) {
|
|
4582
4582
|
debug$2(`adding loaded block: ${block.index}@${block.hash}`);
|
|
4583
|
-
debug$2(JSON.stringify(block, jsonStringifyBigInt));
|
|
4584
4583
|
if (block.decoded)
|
|
4585
4584
|
block = { ...block.decoded, hash: await block.hash() };
|
|
4586
4585
|
return this.#askWorker('addLoadedBlock', JSON.stringify(block, jsonStringifyBigInt));
|
package/exports/chain.js
CHANGED
|
@@ -717,7 +717,6 @@ class Machine {
|
|
|
717
717
|
}
|
|
718
718
|
async addLoadedBlock(block) {
|
|
719
719
|
debug$2(`adding loaded block: ${block.index}@${block.hash}`);
|
|
720
|
-
debug$2(JSON.stringify(block, jsonStringifyBigInt));
|
|
721
720
|
if (block.decoded)
|
|
722
721
|
block = { ...block.decoded, hash: await block.hash() };
|
|
723
722
|
return this.#askWorker('addLoadedBlock', JSON.stringify(block, jsonStringifyBigInt));
|