diff --git a/src/lib.rs b/src/lib.rs index efa2c80..8f1427f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -209,7 +209,7 @@ impl ElectrumD { // Wait for the RPC server to respond while client.call::("version", &noargs).is_err() { thread::sleep(Duration::from_millis(250)); - assert_eq!(process.stderr, None); + assert!(process.stderr.is_none()); } // Create and load the default wallet