projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69624a8
)
Ignore unknown channel flags as required in BOLT 2
2018-08-103-rebased
author
Matt Corallo
<git@bluematt.me>
Fri, 17 Aug 2018 17:22:44 +0000
(13:22 -0400)
committer
Matt Corallo
<git@bluematt.me>
Fri, 17 Aug 2018 17:22:44 +0000
(13:22 -0400)
src/ln/channel.rs
patch
|
blob
|
history
diff --git
a/src/ln/channel.rs
b/src/ln/channel.rs
index d7729a1eca8eb6103c2f9648836a892b307a99aa..b2164696f25897c48536ec64692730a1a1eb1d38 100644
(file)
--- a/
src/ln/channel.rs
+++ b/
src/ln/channel.rs
@@
-518,9
+518,6
@@
impl Channel {
if msg.max_accepted_htlcs > 483 {
return_error_message!("max_accpted_htlcs > 483");
}
- if (msg.channel_flags & 254) != 0 {
- return Err(HandleError{err: "Unknown channel flags", action: Some(msgs::ErrorAction::IgnoreError) });
- }
// Convert things into internal flags and prep our state: