fix warning

This commit is contained in:
Samuel Lorch 2024-02-10 21:47:04 +01:00
parent 913f130fd6
commit 1ff5a41033

View file

@ -84,7 +84,7 @@ pub fn register_methods(module: &mut RpcModule<RpcState>) {
.unwrap(); .unwrap();
} }
pub fn list_network_links(_: Params, state: &RpcState) -> Result<Vec<Link>, ApiError> { pub fn list_network_links(_: Params, _state: &RpcState) -> Result<Vec<Link>, ApiError> {
Ok(vec![Link { Ok(vec![Link {
name: "test1".to_string(), name: "test1".to_string(),
}]) }])