mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Fix impl_writeable_tlv_based_enum
to not require DecodeError
`impl_writeable_tlv_based_enum` shouldn't be assuming that `DecodeError` is in scope, which we address here.
This commit is contained in:
parent
6c984bf50d
commit
fe3cf29595
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ macro_rules! impl_writeable_tlv_based_enum {
|
|||
Ok($st::$tuple_variant_name(Readable::read(reader)?))
|
||||
}),*
|
||||
_ => {
|
||||
Err(DecodeError::UnknownRequiredFeature)
|
||||
Err($crate::ln::msgs::DecodeError::UnknownRequiredFeature)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue