mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
ping: complete JSON RPC ping commands even if one ping gets no response.
We would never complete further ping commands if we had < responses than pings. Oops. Fixes: #1928 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
4a1bc0f90c
commit
704d30edce
9
lightningd/ping.h
Normal file
9
lightningd/ping.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef LIGHTNING_LIGHTNINGD_PING_H
|
||||
#define LIGHTNING_LIGHTNINGD_PING_H
|
||||
#include "config.h"
|
||||
#include <ccan/short_types/short_types.h>
|
||||
|
||||
struct subd;
|
||||
void ping_reply(struct subd *subd, const u8 *msg);
|
||||
|
||||
#endif /* LIGHTNING_LIGHTNINGD_PING_H */
|
||||
Reference in New Issue
Block a user