Skip to content

Commit

Permalink
Different assert. (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch authored Aug 17, 2020
1 parent 59b9c11 commit eac2ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl<T: Runtime, F: Store<T>> KeyIter<T, F> {
}
}
}
debug_assert_eq!(self.buffer.len(), self.count as usize);
debug_assert_eq!(self.buffer.len(), keys.len());
}
}
}
Expand Down Expand Up @@ -604,7 +604,7 @@ mod tests {
SubxtClient::from_config(config, test_node::service::new_full)
.expect("Error creating subxt client"),
)
.set_page_size(2)
.set_page_size(3)
.build()
.await
.expect("Error creating client");
Expand Down

0 comments on commit eac2ce3

Please sign in to comment.