Commit 84f5ab4
committed
Enforce that node_ids are sorted in channel_announcements
We already enforced that nodes can't have a chanel with themselves,
but the spec was updated to require strict ordering at
lightning/bolts#1333 so we enforce this as
well.1 parent 311ad94 commit 84f5ab4
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2011 | 2011 | | |
2012 | 2012 | | |
2013 | 2013 | | |
2014 | | - | |
| 2014 | + | |
2015 | 2015 | | |
2016 | | - | |
| 2016 | + | |
2017 | 2017 | | |
2018 | 2018 | | |
2019 | 2019 | | |
| |||
2123 | 2123 | | |
2124 | 2124 | | |
2125 | 2125 | | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
2126 | 2133 | | |
2127 | 2134 | | |
2128 | 2135 | | |
| |||
0 commit comments