Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bayk committed Sep 20, 2024
1 parent 77a36d0 commit b24e445
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion impls/src/test_framework/testclient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ impl LocalWalletClient {
impl NodeClient for LocalWalletClient {
fn increase_index(&self) {}
fn node_url(&self) -> Result<String, libwallet::Error> {
Err(libwallet::Error::NodeUrlIsEmpty)
Ok("node".to_string())
}
fn node_api_secret(&self) -> &Option<String> {
&None
Expand Down
4 changes: 2 additions & 2 deletions libwallet/src/swap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ mod tests {
fn increase_index(&self) {
unimplemented!()
}
fn node_url(&self) -> &str {
"test_node_url"
fn node_url(&self) -> Result<String, crate::Error> {
Ok("node".to_string())
}
fn set_node_url(&mut self, _node_url: Vec<String>) {
unimplemented!()
Expand Down

0 comments on commit b24e445

Please sign in to comment.