Skip to content

Commit 7ef8932

Browse files
committed
Drop unused UtxoLookup impl for BitcoindClient
1 parent 878c70a commit 7ef8932

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/bitcoind_client.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ use bitcoin::{OutPoint, Script, TxOut, WPubkeyHash, XOnlyPublicKey};
1515
use lightning::chain::chaininterface::{BroadcasterInterface, ConfirmationTarget, FeeEstimator};
1616
use lightning::events::bump_transaction::{Utxo, WalletSource};
1717
use lightning::log_error;
18-
use lightning::routing::utxo::{UtxoLookup, UtxoResult};
1918
use lightning::util::logger::Logger;
2019
use lightning_block_sync::http::HttpEndpoint;
2120
use lightning_block_sync::rpc::RpcClient;
@@ -296,13 +295,6 @@ impl BroadcasterInterface for BitcoindClient {
296295
}
297296
}
298297

299-
impl UtxoLookup for BitcoindClient {
300-
fn get_utxo(&self, _genesis_hash: &BlockHash, _short_channel_id: u64) -> UtxoResult {
301-
// P2PGossipSync takes None for a UtxoLookup, so this will never be called.
302-
todo!();
303-
}
304-
}
305-
306298
impl WalletSource for BitcoindClient {
307299
fn list_confirmed_utxos(&self) -> Result<Vec<Utxo>, ()> {
308300
let utxos = tokio::task::block_in_place(move || {

0 commit comments

Comments
 (0)