mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
lnwire: use %v instead of %x when printing length of oversized msg
This commit is contained in:
@@ -567,6 +567,9 @@ func (b *Machine) RecvActThree(actThree [ActThreeSize]byte) error {
|
||||
"valid", actThree[0], HandshakeVersion)
|
||||
}
|
||||
|
||||
// TODO(roasbeef): print out entire version each time, also print out
|
||||
// which act the error occurred at
|
||||
|
||||
copy(s[:], actThree[1:33+16+1])
|
||||
copy(p[:], actThree[33+16+1:])
|
||||
|
||||
|
Reference in New Issue
Block a user