From bb1fd98b67ab07d334e39599a3cfd7b5a850e801 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 20 Oct 2017 15:40:50 -0700 Subject: [PATCH] peer: print hex encoded failure reason for lnwire.UpdateFailHTLC in msg summaries --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 613e54bd6..5305ff03f 100644 --- a/peer.go +++ b/peer.go @@ -803,7 +803,7 @@ func messageSummary(msg lnwire.Message) string { msg.ChanID, msg.ID, msg.Amount, msg.Expiry, msg.PaymentHash[:]) case *lnwire.UpdateFailHTLC: - return fmt.Sprintf("chan_id=%v, id=%v, reason=%v", msg.ChanID, + return fmt.Sprintf("chan_id=%v, id=%v, reason=%x", msg.ChanID, msg.ID, msg.Reason) case *lnwire.UpdateFufillHTLC: