commit 962f31d99640856f556329f3416d494f3a5c5cd1
parent bde59d98f74856a1e134c4bf314fc28f71423196
Author: William Casarin <jb55@jb55.com>
Date: Sun, 21 Jul 2019 14:48:16 -0700
print full nodeid
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/update.c b/update.c
@@ -152,14 +152,12 @@ static void physics(struct ln *ln, double dt)
static void print_channel_info(struct channel *chan)
{
- printf("%u:%u:%hu %.*s %s -> %.*s %s (%f bits)\n",
+ printf("%u:%u:%hu %s %s -> %s %s (%f bits)\n",
chan->short_channel_id.blocknum,
chan->short_channel_id.txnum,
chan->short_channel_id.outnum,
- 8,
chan->nodes[0]->id,
chan->nodes[0]->alias,
- 8,
chan->nodes[1]->id,
chan->nodes[1]->alias,
chan->satoshis / 100.0