mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
012574790d
We stopped automatically retransmitting locally-generated add/removes after a reconnect, but this breaks the "pay" interface as it stands. The correct solution to this is to make the pay interface idempotent: you can trigger it as many times as you want and it will only succeed once. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
249 B
C
12 lines
249 B
C
#ifndef LIGHTNING_DAEMON_PAY_H
|
|
#define LIGHTNING_DAEMON_PAY_H
|
|
#include "config.h"
|
|
|
|
struct lightningd_state;
|
|
struct htlc;
|
|
|
|
void complete_pay_command(struct lightningd_state *dstate,
|
|
const struct htlc *htlc);
|
|
|
|
#endif /* LIGHTNING_DAEMON_PAY_H */
|