@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.
@@ -1381,9 +1381,9 @@ class State extends Contract {
1381
1381
  catch (error) {
1382
1382
  this.#syncErrorCount += 1;
1383
1383
  if (this.#syncErrorCount < 3)
1384
- await this.#syncChain(lastBlock);
1385
- this.#chainSyncing = false;
1384
+ return this.syncChain(lastBlock);
1386
1385
  this.#syncErrorCount = 0;
1386
+ this.#chainSyncing = false;
1387
1387
  return 'errored';
1388
1388
  }
1389
1389
  if (lastBlock.index === this.#lastBlockInQue?.index)
@@ -1,4 +1,4 @@
1
- import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-b55ccb01.js';
1
+ import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-3364f1f2.js';
2
2
  import './index-b32f624f.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { F as FormatInterface } from './node-browser-b55ccb01.js';
1
+ import { F as FormatInterface } from './node-browser-3364f1f2.js';
2
2
  import './index-b32f624f.js';
3
3
 
4
4
  var proto$b = {