fix: createEthClient needs logging functions and sync delay passed
This commit is contained in:
parent
1e654d0057
commit
032470029c
|
@ -2,6 +2,7 @@ import {
|
||||||
ActiveQuery,
|
ActiveQuery,
|
||||||
addHandler,
|
addHandler,
|
||||||
handleMessage,
|
handleMessage,
|
||||||
|
log,
|
||||||
logErr,
|
logErr,
|
||||||
} from "@lumeweb/libkernel/module";
|
} from "@lumeweb/libkernel/module";
|
||||||
import { createClient, RpcNetwork } from "@lumeweb/kernel-rpc-client";
|
import { createClient, RpcNetwork } from "@lumeweb/kernel-rpc-client";
|
||||||
|
@ -140,6 +141,9 @@ async function setup() {
|
||||||
new Uint8Array(Object.values(update)),
|
new Uint8Array(Object.values(update)),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
log,
|
||||||
|
logErr,
|
||||||
|
500,
|
||||||
);
|
);
|
||||||
|
|
||||||
let synced = false;
|
let synced = false;
|
||||||
|
|
Loading…
Reference in New Issue