mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-20 14:24:22 +01:00
chore: fix typo in openchannel hook log
Nit: The underscore in "openchannel_hook" is wrong, bcause the name of the hook is just "openchannel". The "_hook" implied this to be part of the name. Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
3a0b1c5b1d
commit
bdf0d60fd6
@@ -387,7 +387,7 @@ openchannel2_hook_cb(struct openchannel2_payload *payload STEALS)
|
||||
|
||||
if (payload->err_msg) {
|
||||
log_debug(dualopend->ld->log,
|
||||
"openchannel2_hook rejects and says '%s'",
|
||||
"openchannel2 hook rejects and says '%s'",
|
||||
payload->err_msg);
|
||||
msg = towire_dualopend_fail(NULL, payload->err_msg);
|
||||
return subd_send_msg(dualopend, take(msg));
|
||||
|
||||
@@ -707,7 +707,7 @@ openchannel_hook_deserialize(struct openchannel_hook_payload *payload,
|
||||
if (t_errmsg)
|
||||
payload->errmsg = json_strdup(payload, buffer, t_errmsg);
|
||||
log_debug(openingd->ld->log,
|
||||
"openchannel_hook rejects and says '%s'",
|
||||
"openchannel hook rejects and says '%s'",
|
||||
payload->errmsg);
|
||||
if (t_closeto)
|
||||
fatal("Plugin rejected openchannel but also set close_to");
|
||||
@@ -724,7 +724,7 @@ openchannel_hook_deserialize(struct openchannel_hook_payload *payload,
|
||||
/* First plugin can set close_to. Log others. */
|
||||
if (payload->our_upfront_shutdown_script != NULL) {
|
||||
log_broken(openingd->ld->log,
|
||||
"openchannel_hook close_to address was"
|
||||
"openchannel hook close_to address was"
|
||||
" already set by other plugin. Ignoring!");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user