Skip to content

Commit c7f34e9

Browse files
committed
xpay: remove unused field
1 parent 51e5ed7 commit c7f34e9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

plugins/xpay/xpay.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ static struct command_result *xpay_core(struct command *cmd,
181181
u32 retryfor,
182182
const struct amount_msat *partial,
183183
u32 maxdelay,
184-
const char *payer_note,
185184
bool as_pay);
186185

187186
/* Wrapper for pending commands (ignores return) */
@@ -1806,7 +1805,7 @@ invoice_fetched(struct command *cmd,
18061805
inv = json_strdup(NULL, buf, json_get_member(buf, result, "invoice"));
18071806
return xpay_core(cmd, take(to_canonical_invstr(NULL, take(inv))),
18081807
NULL, params->maxfee, params->layers,
1809-
params->retryfor, params->partial, params->maxdelay, params->payer_note,
1808+
params->retryfor, params->partial, params->maxdelay,
18101809
false);
18111810
}
18121811

@@ -1933,7 +1932,7 @@ static struct command_result *json_xpay_params(struct command *cmd,
19331932
}
19341933

19351934
return xpay_core(cmd, invstring,
1936-
msat, maxfee, layers, *retryfor, partial, *maxdelay, payer_note,
1935+
msat, maxfee, layers, *retryfor, partial, *maxdelay,
19371936
as_pay);
19381937
}
19391938

@@ -1945,7 +1944,6 @@ static struct command_result *xpay_core(struct command *cmd,
19451944
u32 retryfor,
19461945
const struct amount_msat *partial,
19471946
u32 maxdelay,
1948-
const char *payer_note,
19491947
bool as_pay)
19501948
{
19511949
struct payment *payment = tal(cmd, struct payment);

0 commit comments

Comments
 (0)