Fix build

This commit is contained in:
Janus
2021-09-16 16:57:17 -04:00
parent aadedaf06b
commit de03706559

View File

@@ -76,8 +76,8 @@ impl CashierService {
cfg_if::cfg_if! {
if #[cfg(feature = "default")]{
// TODO: the endpoint should be generic according to asset_id
let btc_endpoint: (Network, String) =
(bitcoin::network::constants::Network,
let btc_endpoint: (bitcoin::network::constants::Network, String) =
(bitcoin::network::constants::Network::Bitcoin,
String::from("ssl://blockstream.info:993"));
let btc_client = super::btc::BtcClient::new(btc_endpoint)?;