Explorar o código

update electrum server endpoint.

ghassmo %!s(int64=4) %!d(string=hai) anos
pai
achega
a00dd34b3e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;