]> git.bitcoin.ninja Git - rust-lightning/commit
Simplify sequencing of handle_query_channel_range
authorbmancini55 <bmancini@gmail.com>
Tue, 16 Mar 2021 20:30:22 +0000 (16:30 -0400)
committerbmancini55 <bmancini@gmail.com>
Tue, 16 Mar 2021 23:36:38 +0000 (19:36 -0400)
commit7b842b61f8b9c81cf5eb5565b669bc4ef609863d
treead575c7a9c316892a412e8fc2e3a44fd97fab5d1
parent7815965bf758dbcf8edf7beac5e4a95291ae7a3e
Simplify sequencing of handle_query_channel_range

Modify NetGraphMsgHandler::handle_query_channel_range to always use
first_blocknum=0 in replies. This is spec compliant after changes to
make sequence completion explicity using sync_complete.
lightning/src/routing/network_graph.rs