Skip to content

Commit d2456bd

Browse files
committed
f sort_unstable_by
1 parent f169ee9 commit d2456bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/onchaintx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
871871
.iter()
872872
.map(|entry| (entry.txid, entry.block_hash))
873873
.collect();
874-
txids.sort_unstable_by_key(|tuple| tuple.0);
874+
txids.sort_unstable_by_key(|(txid, _)| *txid);
875875
txids.dedup();
876876
txids
877877
}

0 commit comments

Comments
 (0)