fix: createEthClient needs logging functions and sync delay passed

This commit is contained in:
Derrick Hammer 2023-07-15 05:49:43 -04:00
parent 1e654d0057
commit 032470029c
1 changed files with 4 additions and 0 deletions

View File

@ -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;