Skip to content

Commit 7b0f91d

Browse files
committed
Fix build error when building with neither esplora nor electrum support
1 parent b8871c7 commit 7b0f91d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/txout_set.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use bdk::bitcoin::{OutPoint, Transaction, TxOut, Txid};
1+
use bdk::bitcoin::{OutPoint, TxOut};
2+
#[cfg(any(feature = "electrum", feature = "use-esplora-blocking"))]
3+
use bdk::bitcoin::{Transaction, Txid};
24
use bdk::database::BatchDatabase;
35
use bdk::wallet::Wallet;
46

0 commit comments

Comments
 (0)