mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 23:06:44 +01:00
renepay: names by convention
Change functions json_pay and json_paystatus to json_renepay and json_renepaystatus to match the conventional naming. This is helpful for grep searches. Changelog-None Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
This commit is contained in:
parent
ddb62a1114
commit
0e98426f02
1 changed files with 7 additions and 7 deletions
|
@ -96,9 +96,9 @@ static const char *init(struct command *init_cmd,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct command_result *json_paystatus(struct command *cmd,
|
static struct command_result *json_renepaystatus(struct command *cmd,
|
||||||
const char *buf,
|
const char *buf,
|
||||||
const jsmntok_t *params)
|
const jsmntok_t *params)
|
||||||
{
|
{
|
||||||
const char *invstring;
|
const char *invstring;
|
||||||
struct json_stream *ret;
|
struct json_stream *ret;
|
||||||
|
@ -161,8 +161,8 @@ static struct command_result * payment_start(struct payment *p)
|
||||||
return payment_continue(p);
|
return payment_continue(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct command_result *json_pay(struct command *cmd, const char *buf,
|
static struct command_result *json_renepay(struct command *cmd, const char *buf,
|
||||||
const jsmntok_t *params)
|
const jsmntok_t *params)
|
||||||
{
|
{
|
||||||
/* === Parse command line arguments === */
|
/* === Parse command line arguments === */
|
||||||
// TODO check if we leak some of these temporary variables
|
// TODO check if we leak some of these temporary variables
|
||||||
|
@ -452,11 +452,11 @@ static struct command_result *json_pay(struct command *cmd, const char *buf,
|
||||||
static const struct plugin_command commands[] = {
|
static const struct plugin_command commands[] = {
|
||||||
{
|
{
|
||||||
"renepaystatus",
|
"renepaystatus",
|
||||||
json_paystatus
|
json_renepaystatus
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"renepay",
|
"renepay",
|
||||||
json_pay
|
json_renepay
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"renesendpay",
|
"renesendpay",
|
||||||
|
|
Loading…
Add table
Reference in a new issue