[ci] Fix clippy warnings for 1.47.0
This commit is contained in:
2 files changed
+6
-8
No files matched your search
@@ -133,7 +133,7 @@ impl WalletExport {
|
||||
.into_iter()
|
||||
.map(|tx| tx.height.unwrap_or(0))
|
||||
.collect::<Vec<_>>();
|
||||
heights.sort();
|
||||
heights.sort_unstable();
|
||||
|
||||
*heights.last().unwrap_or(&0)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user