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

@@ -57,7 +57,6 @@ static struct lightningd *new_lightningd(const tal_t *ctx,
ld->log = new_log(log_book, log_book, "lightningd(%u):", (int)getpid());
ld->alias = NULL;
ld->rgb = NULL;
list_head_init(&ld->pay_commands);
list_head_init(&ld->connects);
ld->wireaddrs = tal_arr(ld, struct wireaddr, 0);
ld->portnum = DEFAULT_PORT;