@typeberry/jam 0.2.0-0a3dfd4 → 0.2.0-41490e3
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/bootstrap-importer.mjs +1 -1
- package/bootstrap-importer.mjs.map +1 -1
- package/bootstrap-network.mjs +292 -277
- package/bootstrap-network.mjs.map +1 -1
- package/index.js +6575 -6540
- package/index.js.map +1 -1
- package/package.json +1 -1
package/bootstrap-importer.mjs
CHANGED
|
@@ -25481,7 +25481,7 @@ class MainReady extends State {
|
|
|
25481
25481
|
sendBlock(port, block) {
|
|
25482
25482
|
// TODO [ToDr] How to make a better API to pass this binary data around?
|
|
25483
25483
|
// Currently we don't guarantee that the underlying buffer is actually `ArrayBuffer`.
|
|
25484
|
-
port.sendSignal("block", block, [
|
|
25484
|
+
port.sendSignal("block", block, []);
|
|
25485
25485
|
}
|
|
25486
25486
|
async importBlock(port, block) {
|
|
25487
25487
|
const res = await port.sendRequest("importBlock", block, [block.buffer]);
|