mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Use tal_hex(...) instead of tal_hexstr(...)
This commit is contained in:
parent
bc4f2da50a
commit
a900551815
@ -347,9 +347,7 @@ static void subdaemon_malformed_msg(struct subd *sd, const u8 *msg)
|
|||||||
{
|
{
|
||||||
log_broken(sd->log, "%i: malformed string '%.s'",
|
log_broken(sd->log, "%i: malformed string '%.s'",
|
||||||
fromwire_peektype(msg),
|
fromwire_peektype(msg),
|
||||||
tal_hexstr(msg,
|
tal_hex(msg, msg));
|
||||||
msg + sizeof(be16),
|
|
||||||
tal_count(msg) - sizeof(be16)));
|
|
||||||
|
|
||||||
#if DEVELOPER
|
#if DEVELOPER
|
||||||
if (sd->ld->dev_subdaemon_fail)
|
if (sd->ld->dev_subdaemon_fail)
|
||||||
|
Loading…
Reference in New Issue
Block a user