@leofcoin/chain 1.8.18 → 1.8.19
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 +1 -1
- package/exports/chain.js +1 -1
- package/package.json +1 -1
package/exports/browser/chain.js
CHANGED
|
@@ -5112,7 +5112,7 @@ class State extends Contract {
|
|
|
5112
5112
|
};
|
|
5113
5113
|
this.#lastBlockHandler = async () => {
|
|
5114
5114
|
return new globalThis.peernet.protos['peernet-response']({
|
|
5115
|
-
response: new LastBlockMessage(await this.lastBlock).
|
|
5115
|
+
response: new LastBlockMessage(await this.lastBlock).encoded
|
|
5116
5116
|
});
|
|
5117
5117
|
};
|
|
5118
5118
|
this.#knownBlocksHandler = async () => {
|
package/exports/chain.js
CHANGED
|
@@ -1253,7 +1253,7 @@ class State extends Contract {
|
|
|
1253
1253
|
};
|
|
1254
1254
|
this.#lastBlockHandler = async () => {
|
|
1255
1255
|
return new globalThis.peernet.protos['peernet-response']({
|
|
1256
|
-
response: new LastBlockMessage(await this.lastBlock).
|
|
1256
|
+
response: new LastBlockMessage(await this.lastBlock).encoded
|
|
1257
1257
|
});
|
|
1258
1258
|
};
|
|
1259
1259
|
this.#knownBlocksHandler = async () => {
|