@leofcoin/chain 1.4.28 → 1.4.30
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/chain.js +1 -1
- package/package.json +2 -1
package/exports/chain.js
CHANGED
|
@@ -860,7 +860,7 @@ class Chain extends Contract {
|
|
|
860
860
|
async #updateState(message) {
|
|
861
861
|
const hash = await message.hash();
|
|
862
862
|
this.#lastBlock = { hash, ...message.decoded };
|
|
863
|
-
await this.state.updateState(message)
|
|
863
|
+
// await this.state.updateState(message)
|
|
864
864
|
await chainStore.put('lastBlock', hash);
|
|
865
865
|
}
|
|
866
866
|
async participate(address) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/chain",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.30",
|
|
4
4
|
"description": "Official javascript implementation",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./node": "./exports/node.js",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"@leofcoin/multi-wallet": "^2.1.1",
|
|
56
56
|
"@leofcoin/networks": "^1.0.0",
|
|
57
57
|
"@leofcoin/peernet": "^1.0.0",
|
|
58
|
+
"@leofcoin/peernet-swarm": "^0.5.12",
|
|
58
59
|
"@leofcoin/storage": "^3.0.6",
|
|
59
60
|
"@leofcoin/utils": "^1.1.4",
|
|
60
61
|
"@leofcoin/workers": "^1.3.5",
|