This commit is contained in:
Derrick Hammer 2023-03-25 11:33:40 -04:00
parent 086884b617
commit 6747fe777c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ pub struct NimbusRpc {}
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_namespace = window)]
#[wasm_bindgen(js_namespace = self)]
fn consensus_rpc_handler(data: JsValue) -> Promise;
}

View File

@ -27,7 +27,7 @@ use wasm_bindgen_futures::JsFuture;
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_namespace = window)]
#[wasm_bindgen(js_namespace = self)]
fn execution_rpc_handler(data: JsValue) -> Promise;
}