mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
log: ability to log struct rval.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -326,7 +326,8 @@ static char *to_string_(const tal_t *ctx,
|
||||
h->src ? to_string(ctx, lr, struct pubkey,
|
||||
h->src->peer->id)
|
||||
: "local");
|
||||
}
|
||||
} else if (streq(structname, "struct rval"))
|
||||
s = tal_hexstr(ctx, u.rval, sizeof(*u.rval));
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user