Skip to content

Commit

Permalink
fix store tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antiochp committed Nov 13, 2019
1 parent 711bd2c commit 84cd632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/tests/pmmr.rs
Expand Up @@ -47,7 +47,7 @@ fn pmmr_leaf_idx_iter() {

{
let pmmr: PMMR<'_, TestElem, _> = PMMR::at(&mut backend, mmr_size);
let leaf_idx = pmmr.leaf_idx_iter().collect::<Vec<_>>();
let leaf_idx = pmmr.leaf_idx_iter(0).collect::<Vec<_>>();
let leaf_pos = pmmr.leaf_pos_iter().collect::<Vec<_>>();

// The first 5 leaves [0,1,2,3,4] are at pos [1,2,4,5,8] in the MMR.
Expand Down

0 comments on commit 84cd632

Please sign in to comment.