We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc7d8f4 commit a34257bCopy full SHA for a34257b
1 file changed
linera-bridge/src/proof/mod.rs
@@ -455,7 +455,7 @@ pub fn build_receipt_proof(
455
.iter()
456
.map(|(idx, rlp)| (receipt_trie_key(*idx), rlp.as_slice()))
457
.collect();
458
- entries.sort_by(|a, b| a.0.cmp(&b.0));
+ entries.sort_by_key(|a| a.0);
459
460
let target_key = receipt_trie_key(target_tx_index);
461
let retainer = ProofRetainer::new(vec![target_key]);
0 commit comments