@leofcoin/chain 1.7.144 → 1.7.145

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.
@@ -5896,9 +5896,9 @@ class Chain extends VersionControl {
5896
5896
  if (Object.keys(lastBlock).length > 0) {
5897
5897
  if (!this.lastBlock || higherThenCurrentLocal) {
5898
5898
  this.knownBlocks = await this.#makeRequest(peer, 'knownBlocks');
5899
- const stateInfo = await this.#makeRequest(peer, 'stateInfo');
5899
+ await this.#makeRequest(peer, 'stateInfo');
5900
5900
  await this.syncChain(lastBlock);
5901
- this.machine.states.info = stateInfo;
5901
+ // this.machine.states.info = stateInfo
5902
5902
  }
5903
5903
  }
5904
5904
  if (this.wantList.length > 0) {
package/exports/chain.js CHANGED
@@ -2036,9 +2036,9 @@ class Chain extends VersionControl {
2036
2036
  if (Object.keys(lastBlock).length > 0) {
2037
2037
  if (!this.lastBlock || higherThenCurrentLocal) {
2038
2038
  this.knownBlocks = await this.#makeRequest(peer, 'knownBlocks');
2039
- const stateInfo = await this.#makeRequest(peer, 'stateInfo');
2039
+ await this.#makeRequest(peer, 'stateInfo');
2040
2040
  await this.syncChain(lastBlock);
2041
- this.machine.states.info = stateInfo;
2041
+ // this.machine.states.info = stateInfo
2042
2042
  }
2043
2043
  }
2044
2044
  if (this.wantList.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.7.144",
3
+ "version": "1.7.145",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {