From a4e66566886901f28e383e67f06de2215e3ebc42 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Mon, 5 Dec 2022 11:17:27 +0100 Subject: [PATCH] daemon: remove / correct some TODOs --- src/bitcoin/d/utils.rs | 1 - src/commands/mod.rs | 4 ++-- src/config.rs | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bitcoin/d/utils.rs b/src/bitcoin/d/utils.rs index e113d0b1..b6e2a330 100644 --- a/src/bitcoin/d/utils.rs +++ b/src/bitcoin/d/utils.rs @@ -86,7 +86,6 @@ mod tests { // Create a dummy BlockStats struct with the given time fn create_stats(time: u32) -> BlockStats { - // TODO BlockStats { height: 0, confirmations: 0, diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 5b4ea22d..5ec14b98 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -571,7 +571,7 @@ impl DaemonControl { let transactions = txids .iter() .filter_map(|txid| { - // TODO: batch batch those calls to the Bitcoin backend + // TODO: batch those calls to the Bitcoin backend // so it can in turn optimize its queries. self.bitcoin .wallet_transaction(txid) @@ -590,7 +590,7 @@ impl DaemonControl { let transactions = txids .iter() .filter_map(|txid| { - // TODO: batch batch those calls to the Bitcoin backend + // TODO: batch those calls to the Bitcoin backend // so it can in turn optimize its queries. self.bitcoin .wallet_transaction(txid) diff --git a/src/config.rs b/src/config.rs index 9e6b288d..111a438b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -48,7 +48,6 @@ fn default_daemon() -> bool { false } -// TODO: separate Bitcoin config and bitcoind-specific config. /// Everything we need to know for talking to bitcoind serenely #[derive(Debug, Clone, Deserialize, Serialize)] pub struct BitcoindConfig {