handle ChannelClose

This commit is contained in:
nora 2022-02-20 21:50:50 +01:00
parent cb73214bc3
commit f2195133fb
6 changed files with 38 additions and 7 deletions

View file

@ -66,9 +66,6 @@ pub mod parse {
}
fn domain_reply_code(input: &[u8]) -> IResult<'_, ReplyCode> {
let (input, result) = short(input)?;
if result == 0 {
fail!("number was 0 for field result")
}
Ok((input, result))
}
fn domain_reply_text(input: &[u8]) -> IResult<'_, ReplyText> {