X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Frouter.rs;h=fb720c9916c2d7b38ee653df9fea675f3f8ea23f;hb=8e3744813a8730a0b4fa6219d314635167947f27;hp=e93618ca7137905ab7677a775e3697e390b6cd02;hpb=c318ad87e004b7082124239d3b70d77787a55c77;p=rust-lightning diff --git a/fuzz/src/router.rs b/fuzz/src/router.rs index e93618ca7..fb720c991 100644 --- a/fuzz/src/router.rs +++ b/fuzz/src/router.rs @@ -130,7 +130,7 @@ pub fn do_test(data: &[u8], out: Out) { msgs::DecodeError::InvalidValue => return, msgs::DecodeError::BadLengthDescriptor => return, msgs::DecodeError::ShortRead => panic!("We picked the length..."), - msgs::DecodeError::Io(e) => panic!(format!("{:?}", e)), + msgs::DecodeError::Io(e) => panic!("{:?}", e), } } }}