@leofcoin/chain 1.5.4 → 1.5.6
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 +2 -2
- package/exports/browser/{index-ba1b3977-4c483021.js → index-9c85cd32-ab3cf058.js} +1 -1
- package/exports/browser/{messages-dd1ad11c-8c747755.js → messages-b66f5393-8ba2fe1a.js} +1 -1
- package/exports/browser/{node-browser-b55ccb01.js → node-browser-3364f1f2.js} +866 -785
- package/exports/browser/node-browser.js +1 -1
- package/exports/chain.js +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { N as default } from './node-browser-
|
|
1
|
+
export { N as default } from './node-browser-3364f1f2.js';
|
|
2
2
|
import './index-b32f624f.js';
|
package/exports/chain.js
CHANGED
|
@@ -821,9 +821,9 @@ class State extends Contract {
|
|
|
821
821
|
catch (error) {
|
|
822
822
|
this.#syncErrorCount += 1;
|
|
823
823
|
if (this.#syncErrorCount < 3)
|
|
824
|
-
|
|
825
|
-
this.#chainSyncing = false;
|
|
824
|
+
return this.syncChain(lastBlock);
|
|
826
825
|
this.#syncErrorCount = 0;
|
|
826
|
+
this.#chainSyncing = false;
|
|
827
827
|
return 'errored';
|
|
828
828
|
}
|
|
829
829
|
if (lastBlock.index === this.#lastBlockInQue?.index)
|