Przeglądaj źródła

update electrum server endpoint.

ghassmo 4 lat temu
rodzic
commit
a00dd34b3e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/service/cashier.rs

+ 1 - 1
src/service/cashier.rs

@@ -77,7 +77,7 @@ impl CashierService {
             if #[cfg(feature = "default")]{
                 // TODO: the endpoint should be generic according to asset_id
                 let btc_endpoint: (bool, String) = 
-                    (true, String::from("tcp://electrum.blockstream.info:60001"));
+                    (true, String::from("ssl://blockstream.info:993"));
 
                 let btc_client = super::btc::BtcClient::new(btc_endpoint)?;
                 bridge.clone().add_clients(asset_id, Arc::new(btc_client)).await;