From 7fbab4e2999e340d7a98bc7f7ce154d6c92c4986 Mon Sep 17 00:00:00 2001 From: keyne Date: Thu, 15 Aug 2024 16:59:10 +0100 Subject: [PATCH] remove useless line --- src/utils/test_context.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/test_context.rs b/src/utils/test_context.rs index b4d37ce..19c8b7f 100644 --- a/src/utils/test_context.rs +++ b/src/utils/test_context.rs @@ -405,7 +405,6 @@ impl LocalChain { pub fn wait_for_blocks(&self, blocks: u64) { let chain = Chain::new(&self.rb); - let current_height = chain.get_height(); while chain.get_height() < current_height + blocks { std::thread::sleep(std::time::Duration::from_millis(500));