mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
peer: print hex encoded failure reason for lnwire.UpdateFailHTLC in msg summaries
This commit is contained in:
parent
7c1ae8bda3
commit
bb1fd98b67
2
peer.go
2
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:
|
||||
|
Loading…
Reference in New Issue
Block a user