diff --git a/impls/src/test_framework/testclient.rs b/impls/src/test_framework/testclient.rs index 7e0e553fe..efbab1fd6 100644 --- a/impls/src/test_framework/testclient.rs +++ b/impls/src/test_framework/testclient.rs @@ -475,7 +475,7 @@ impl LocalWalletClient { impl NodeClient for LocalWalletClient { fn increase_index(&self) {} fn node_url(&self) -> Result { - Err(libwallet::Error::NodeUrlIsEmpty) + Ok("node".to_string()) } fn node_api_secret(&self) -> &Option { &None diff --git a/libwallet/src/swap/mod.rs b/libwallet/src/swap/mod.rs index 86d9896ee..3e8e15ec9 100644 --- a/libwallet/src/swap/mod.rs +++ b/libwallet/src/swap/mod.rs @@ -352,8 +352,8 @@ mod tests { fn increase_index(&self) { unimplemented!() } - fn node_url(&self) -> &str { - "test_node_url" + fn node_url(&self) -> Result { + Ok("node".to_string()) } fn set_node_url(&mut self, _node_url: Vec) { unimplemented!()