summaryrefslogtreecommitdiffstatshomepage
path: root/src/blockchain.rs
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 12:45:14 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 16:08:55 +0100
commit13127e1cc843a83b00b1ee498ae07b66524d552a (patch)
treed88fc8d4f8d215c0df4e423200aa779dc3d8e3c5 /src/blockchain.rs
parentd9031529e120dca9a5aed0a150f3bb960153d4a2 (diff)
downloadsentrum-13127e1cc843a83b00b1ee498ae07b66524d552a.tar.gz
sentrum-13127e1cc843a83b00b1ee498ae07b66524d552a.tar.bz2
sentrum-13127e1cc843a83b00b1ee498ae07b66524d552a.zip
Avoid extern crate
Causes issues with rust-analyzer
Diffstat (limited to 'src/blockchain.rs')
-rw-r--r--src/blockchain.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain.rs b/src/blockchain.rs
index 2f5014b..92e585f 100644
--- a/src/blockchain.rs
+++ b/src/blockchain.rs
@@ -4,6 +4,7 @@ use bdk::{
blockchain::{ElectrumBlockchain, GetHeight},
electrum_client::{Client, ConfigBuilder, Socks5Config},
};
+use log::{debug, info, warn};
use serde::Deserialize;
fn get_default_electrum_server(network: Network) -> &'static str {