X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-sample;a=blobdiff_plain;f=src%2Fbitcoind_client.rs;fp=src%2Fbitcoind_client.rs;h=67b42ef6c5a82b69aad12e10110ed8d4f989a2d4;hp=9f28015cf5ed0326190ac88b79b67f736c8de4a0;hb=7ef8932dc19e21ba2be0903d7a174d27de3f1989;hpb=878c70a41bd9009d12fe05dfb5c4a0f90ae762e6 diff --git a/src/bitcoind_client.rs b/src/bitcoind_client.rs index 9f28015..67b42ef 100644 --- a/src/bitcoind_client.rs +++ b/src/bitcoind_client.rs @@ -15,7 +15,6 @@ use bitcoin::{OutPoint, Script, TxOut, WPubkeyHash, XOnlyPublicKey}; use lightning::chain::chaininterface::{BroadcasterInterface, ConfirmationTarget, FeeEstimator}; use lightning::events::bump_transaction::{Utxo, WalletSource}; use lightning::log_error; -use lightning::routing::utxo::{UtxoLookup, UtxoResult}; use lightning::util::logger::Logger; use lightning_block_sync::http::HttpEndpoint; use lightning_block_sync::rpc::RpcClient; @@ -296,13 +295,6 @@ impl BroadcasterInterface for BitcoindClient { } } -impl UtxoLookup for BitcoindClient { - fn get_utxo(&self, _genesis_hash: &BlockHash, _short_channel_id: u64) -> UtxoResult { - // P2PGossipSync takes None for a UtxoLookup, so this will never be called. - todo!(); - } -} - impl WalletSource for BitcoindClient { fn list_confirmed_utxos(&self) -> Result, ()> { let utxos = tokio::task::block_in_place(move || {