pay: remove struct pay_command.

It's all in wallet_payment, which is persistent.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-01-18 06:59:49 +10:30
committed by Christian Decker
parent ae1d72b978
commit 02e05ba6ff
8 changed files with 33 additions and 101 deletions

View File

@@ -40,7 +40,6 @@ enum onion_type send_htlc_out(struct peer *out, u64 amount, u32 cltv,
const u8 *onion_routing_packet,
struct htlc_in *in,
struct wallet_payment *payment,
struct pay_command *pc,
struct command *cmd,
struct htlc_out **houtp);