*WIP
This commit is contained in:
parent
086884b617
commit
6747fe777c
|
@ -53,7 +53,7 @@ pub struct NimbusRpc {}
|
||||||
|
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#[wasm_bindgen(js_namespace = window)]
|
#[wasm_bindgen(js_namespace = self)]
|
||||||
fn consensus_rpc_handler(data: JsValue) -> Promise;
|
fn consensus_rpc_handler(data: JsValue) -> Promise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ use wasm_bindgen_futures::JsFuture;
|
||||||
|
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#[wasm_bindgen(js_namespace = window)]
|
#[wasm_bindgen(js_namespace = self)]
|
||||||
fn execution_rpc_handler(data: JsValue) -> Promise;
|
fn execution_rpc_handler(data: JsValue) -> Promise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue