peer: print hex encoded failure reason for lnwire.UpdateFailHTLC in msg summaries

This commit is contained in:
Olaoluwa Osuntokun committed 2017-10-22 18:36:40 -07:00
1 parent 7c1ae8bda3
commit bb1fd98b67
1 file changed
+1 -1
+1 -1
View File
@@ -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: