From 0323b5891996e373d3c17488b5e124011488c788 Mon Sep 17 00:00:00 2001 From: David Craven Date: Thu, 13 Aug 2020 20:49:56 +0200 Subject: [PATCH] Different assert. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b98755625f..d03f70a288 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -241,7 +241,7 @@ impl> KeyIter { } } } - debug_assert_eq!(self.buffer.len(), self.count as usize); + debug_assert_eq!(self.buffer.len(), keys.len()); } } } @@ -595,7 +595,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");