Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: axonweb3/axon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dad6b1e41dd2b3e3716405305665a899eb23cc1b
Choose a base ref
..
head repository: axonweb3/axon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7a82e546d43dade94f0f6f4a83b25bfbbbff4874
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 common/merkle/src/lib.rs
2 changes: 1 addition & 1 deletion common/merkle/src/lib.rs
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ impl TrieMerkle {
Ok(ret)
}

pub fn from_receipts(receipts: &Vec<Bytes>) -> Self {
pub fn from_receipts(receipts: &[Bytes]) -> Self {
let mut trie = Self::default();
for (i, receipt) in receipts.iter().enumerate() {
trie.0