api: pass RpcEnvirnment to api handlers
This commit is contained in:
@ -6,7 +6,11 @@ use crate::api::router::*;
|
||||
use serde_json::{json, Value};
|
||||
|
||||
|
||||
fn get_network_config(_param: Value, _info: &ApiMethod) -> Result<Value, Error> {
|
||||
fn get_network_config(
|
||||
_param: Value,
|
||||
_info: &ApiMethod,
|
||||
_rpcenv: &mut RpcEnvironment,
|
||||
) -> Result<Value, Error> {
|
||||
|
||||
Ok(json!({}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user