Skip to content

Commit 5cfc7c1

Browse files
pythcoinerdarosior
andauthored
Update src/commands/mod.rs
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
1 parent 6f5fb8a commit 5cfc7c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -584,9 +584,9 @@ impl DaemonControl {
584584
let mut db_conn = self.db.connection();
585585
let spend_psbts = db_conn.list_spend();
586586

587-
let txids_set = txids
587+
let txids_set: HashSet<_> = txids
588588
.as_ref()
589-
.map(|list| list.iter().cloned().collect::<HashSet<_>>())
589+
.map(|list| list.iter().cloned().collect())
590590
.unwrap_or_default();
591591

592592
let spend_txs: Vec<ListSpendEntry> = spend_psbts

0 commit comments

Comments
 (0)