sendpay: add payment_metadata argument.

And document the missing arguments.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-03-31 19:40:50 +10:30
parent 4718ee076c
commit 7f89763f9e
6 changed files with 29 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ static void do_generate(int argc, char **argv,
take(onion_final_hop(NULL,
amt, i, amt,
NULL, NULL,
NULL)));
NULL, NULL)));
else
sphinx_add_hop(sp, &path[i],
take(onion_nonfinal_hop(NULL,