Commit 869ffc6
gossipd: don't accept malformed channel_announcements with mis-ordered node-ids.
See lightning/bolts#1333
Every reader of the gossip_store gets upset, and we get many errors if this happens :(
Reported-by: https://github.com/NishantBansal2003
Changelog-Fixed: Protocol: We correctly reject invalidly ordered channel_announcement messages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>1 parent db7dfcd commit 869ffc6
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
651 | 665 | | |
652 | 666 | | |
653 | 667 | | |
| |||
0 commit comments