Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc
  • Loading branch information
Xavier Lau committed Sep 10, 2021
commit 7ccee872afcec30743d7dba99965358b40350dcf
2 changes: 1 addition & 1 deletion frame/merkle-mountain-range/src/mmr/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ where

let mut pivot = None;

// `peaks_before` and `peaks_after` have a same prefix.
// `peaks_before` and `peaks_after` have a common prefix.
for i in 0.. {
if let Some(peak_before) = peaks_before.get(i) {
if let Some(peak_after) = peaks_after.get(i) {
Expand Down