We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f5fb8a commit 5cfc7c1Copy full SHA for 5cfc7c1
src/commands/mod.rs
@@ -584,9 +584,9 @@ impl DaemonControl {
584
let mut db_conn = self.db.connection();
585
let spend_psbts = db_conn.list_spend();
586
587
- let txids_set = txids
+ let txids_set: HashSet<_> = txids
588
.as_ref()
589
- .map(|list| list.iter().cloned().collect::<HashSet<_>>())
+ .map(|list| list.iter().cloned().collect())
590
.unwrap_or_default();
591
592
let spend_txs: Vec<ListSpendEntry> = spend_psbts
0 commit comments