peer: print hex encoded failure reason for lnwire.UpdateFailHTLC in msg summaries
This commit is contained in:
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user