forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
channeld: don't send updates for 0:0:0.
Some paths (eg reconnect) were unconditionally sending a channel_update. valgrind wasn't catching it because we unmarshal short_channel_ids[LOCAL] as all-zeroes, so it's technically "initialized". Create a wrapper to do this, and change the 'bool disabled' flag to be the explicit disable flag value for clarity. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
540c68d
commit 981ffb8
Showing
1 changed file
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters