From e25124cc9acbf5e6f89a976dfa93cffb40b2c07d Mon Sep 17 00:00:00 2001 From: Illia Kripaka Date: Mon, 4 May 2026 11:18:15 +0300 Subject: [PATCH] smplx_test: fix typo in mine_until_height when returning Err value on success --- crates/test/src/network_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/test/src/network_utils.rs b/crates/test/src/network_utils.rs index a573ec3..da48498 100644 --- a/crates/test/src/network_utils.rs +++ b/crates/test/src/network_utils.rs @@ -25,7 +25,7 @@ impl NetworkUtils { h = self.esplora.fetch_tip_height()? as u64; if h >= target_height { - break; + return Ok(()); } std::thread::sleep(std::time::Duration::from_millis(100));