@leofcoin/chain 1.7.143 → 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.
- package/exports/browser/chain.js +2 -2
- package/exports/chain.js +2 -2
- package/package.json +1 -1
package/exports/browser/chain.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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) {
|