Skip to content

Commit 94e237c

Browse files
committed
wollet: clippy fix
1 parent 45fc1c1 commit 94e237c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lwk_wollet/src/cache.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ impl Cache {
172172
.all_txs
173173
.iter()
174174
.filter(|(_, tx)| tx.output.is_empty()) // Only dummy tx have no outputs
175-
.map(|(_, tx)| tx.input.iter().map(|i| i.previous_output))
176-
.flatten()
175+
.flat_map(|(_, tx)| tx.input.iter().map(|i| i.previous_output))
177176
.collect();
178177

179178
Ok(self

0 commit comments

Comments
 (0)