We cannot use subd_req() here: replies will come out of order, and the we should not simply assign the reponses in FIFO order. Changelog-Fixed: lightningd: don't get confused with parallel ping commands. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 lines
209 B
C
9 lines
209 B
C
#ifndef LIGHTNING_LIGHTNINGD_PING_H
|
|
#define LIGHTNING_LIGHTNINGD_PING_H
|
|
#include "config.h"
|
|
|
|
struct subd;
|
|
|
|
void handle_ping_done(struct subd *connectd, const u8 *msg);
|
|
#endif /* LIGHTNING_LIGHTNINGD_PING_H */
|