Skip to content

Commit

Permalink
rename symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Alrighttt committed Sep 13, 2024
1 parent a46d854 commit dad8050
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions mm2src/coins/siacoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use std::sync::{Arc, Mutex};

// TODO consider if this is the best way to handle wasm vs native
#[cfg(not(target_arch = "wasm32"))]
use sia_rust::http::client::native::ClientConf as SiaClientConf;
use sia_rust::http::client::native::Conf as SiaClientConf;
#[cfg(not(target_arch = "wasm32"))]
use sia_rust::http::client::native::NativeClient as SiaClientType;

Expand Down Expand Up @@ -1247,7 +1247,7 @@ mod wasm_tests {
use sia_rust::types::Address;

let conf = SiaClientConf {
base_url: Url::parse("https://sia-walletd.komodo.earth/").unwrap(),
server_url: Url::parse("https://sia-walletd.komodo.earth/").unwrap(),
headers: HashMap::new(),
};
let client = SiaClientType::new(conf).await.unwrap();
Expand Down
18 changes: 9 additions & 9 deletions mm2src/mm2_main/tests/docker_tests/sia_docker_tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use common::block_on;
use sia_rust::http::client::native::{ClientConf, NativeClient};
use sia_rust::http::client::native::{Conf, NativeClient};
use sia_rust::http::client::ApiClient;
use sia_rust::http::endpoints::{AddressBalanceRequest, ConsensusTipRequest, GetAddressUtxosRequest,
TxpoolBroadcastRequest};
Expand All @@ -26,8 +26,8 @@ fn mine_blocks(n: u64, addr: &Address) {

#[test]
fn test_sia_new_client() {
let conf = ClientConf {
url: Url::parse("http://localhost:9980/").unwrap(),
let conf = Conf {
server_url: Url::parse("http://localhost:9980/").unwrap(),
password: None,
timeout: Some(10),
};
Expand All @@ -36,8 +36,8 @@ fn test_sia_new_client() {

#[test]
fn test_sia_client_consensus_tip() {
let conf = ClientConf {
url: Url::parse("http://localhost:9980/").unwrap(),
let conf = Conf {
server_url: Url::parse("http://localhost:9980/").unwrap(),
password: None,
timeout: Some(10),
};
Expand All @@ -49,8 +49,8 @@ fn test_sia_client_consensus_tip() {
// related to block height
#[test]
fn test_sia_client_address_balance() {
let conf = ClientConf {
url: Url::parse("http://localhost:9980/").unwrap(),
let conf = Conf {
server_url: Url::parse("http://localhost:9980/").unwrap(),
password: None,
timeout: Some(10),
};
Expand All @@ -70,8 +70,8 @@ fn test_sia_client_address_balance() {

#[test]
fn test_sia_client_build_tx() {
let conf = ClientConf {
url: Url::parse("http://localhost:9980/").unwrap(),
let conf = Conf {
server_url: Url::parse("http://localhost:9980/").unwrap(),
password: None,
timeout: Some(10),
};
Expand Down

0 comments on commit dad8050

Please sign in to comment.