Merge pull request #838 from TheBlueMatt/2021-03-skip-blocks
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index 55c2ffd57ff56982898e55c801893f1099fbd4a2..87b95cf2a538a972e882a2d2ad0ca6fb2bd99c47 100644 (file)
@@ -234,7 +234,7 @@ fn check_api_err(api_err: APIError) {
                                _ if err.starts_with("Cannot send value that would put our balance under counterparty-announced channel reserve value") => {},
                                _ if err.starts_with("Cannot send value that would overdraw remaining funds.") => {},
                                _ if err.starts_with("Cannot send value that would not leave enough to pay for fees.") => {},
-                               _ => panic!(err),
+                               _ => panic!("{}", err),
                        }
                },
                APIError::MonitorUpdateFailed => {