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 }