Use tal_hex(...) instead of tal_hexstr(...)

This commit is contained in:
practicalswift 2018-01-10 09:46:12 +01:00 committed by Rusty Russell
parent bc4f2da50a
commit a900551815
1 changed files with 1 additions and 3 deletions

View File

@ -347,9 +347,7 @@ static void subdaemon_malformed_msg(struct subd *sd, const u8 *msg)
{
log_broken(sd->log, "%i: malformed string '%.s'",
fromwire_peektype(msg),
tal_hexstr(msg,
msg + sizeof(be16),
tal_count(msg) - sizeof(be16)));
tal_hex(msg, msg));
#if DEVELOPER
if (sd->ld->dev_subdaemon_fail)