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:
Michael Schmoock
2021-01-17 13:48:36 +01:00
committed by Rusty Russell
parent 3a0b1c5b1d
commit bdf0d60fd6
3 changed files with 4 additions and 4 deletions

View File

@@ -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));