Skip to content

Commit cd2378a

Browse files
committed
f sort_unstable_by
1 parent 72e9e85 commit cd2378a

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
@@ -835,7 +835,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
835835
.iter()
836836
.map(|entry| (entry.txid, entry.block_hash))
837837
.collect();
838-
txids.sort_unstable_by_key(|tuple| tuple.0);
838+
txids.sort_unstable_by_key(|(txid, _)| *txid);
839839
txids.dedup();
840840
txids
841841
}

0 commit comments

Comments
 (0)