Browse Source
Since we initialize last_timestamp to 0, we ignore any initial update with this timestamp. Don't compare it if we don't already have an update, and don't initialize it, so valgrind can tell us if we use it accidentally. b'lightning_gossipd(3368): TRACE: Received channel_update for channel 6892:2:1(0)' b'lightning_gossipd(3368): TRACE: Ignoring outdated update.' b'lightning_gossipd(3368): TRACE: Received channel_update for channel 6893:2:1(1)' b'lightning_gossipd(3368): TRACE: Channel 6893:2:1(1) was updated.' The same logic applies to node_updates, so we do the same there. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
1 changed files with 2 additions and 5 deletions
Loading…
Reference in new issue