From dc1565c0149e03ce20c2cdf76c1aaaf9fc2e3deb Mon Sep 17 00:00:00 2001 From: wolflo <33909953+wolflo@users.noreply.github.com> Date: Tue, 1 Feb 2022 03:59:54 -0700 Subject: [PATCH] fix(core): adjust Ganache for new cli output (#851) --- ethers-core/src/utils/ganache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/utils/ganache.rs b/ethers-core/src/utils/ganache.rs index 3c4fb1d1..dfea1017 100644 --- a/ethers-core/src/utils/ganache.rs +++ b/ethers-core/src/utils/ganache.rs @@ -183,7 +183,7 @@ impl Ganache { let mut line = String::new(); reader.read_line(&mut line).expect("Failed to read line from ganache process"); - if line.starts_with("Listening on") { + if line.contains("Listening on") { break }