fix: presentSeed needs to be presentKey

This commit is contained in:
Derrick Hammer 2023-07-04 05:45:40 -04:00
parent 4e7ff8774d
commit a74b2d416e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -27,12 +27,12 @@ let moduleReady: Promise<void> = new Promise((resolve) => {
const networkInstances = new Map<number, RpcNetwork>();
addHandler("presentSeed", handlePresentSeed);
addHandler("presentKey", handlePresentKey);
addHandler("createNetwork", handleCreateNetwork);
addHandler("simpleQuery", handleSimpleQuery);
addHandler("ready", handleReady);
async function handlePresentSeed() {
async function handlePresentKey() {
if (!defaultNetwork) {
defaultNetwork = networkInstances.get(await createNetwork()) as RpcNetwork;
}