projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #943 from lightning-signer/2021-06-signet
[rust-lightning]
/
lightning
/
src
/
ln
/
features.rs
diff --git
a/lightning/src/ln/features.rs
b/lightning/src/ln/features.rs
index cbe8cedf1dd1c41d958a46b1c3b8a4357e4186cc..b459baf06580bff8414715b82c1845e7334c23ee 100644
(file)
--- a/
lightning/src/ln/features.rs
+++ b/
lightning/src/ln/features.rs
@@
-22,6
+22,7
@@
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
//! [messages]: crate::ln::msgs
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
//! [messages]: crate::ln::msgs
+use prelude::*;
use core::{cmp, fmt};
use core::marker::PhantomData;
use core::{cmp, fmt};
use core::marker::PhantomData;
@@
-31,6
+32,7
@@
use ln::msgs::DecodeError;
use util::ser::{Readable, Writeable, Writer};
mod sealed {
use util::ser::{Readable, Writeable, Writer};
mod sealed {
+ use prelude::*;
use ln::features::Features;
/// The context in which [`Features`] are applicable. Defines which features are required and
use ln::features::Features;
/// The context in which [`Features`] are applicable. Defines which features are required and