lnwire: use %v instead of %x when printing length of oversized msg

This commit is contained in:
Olaoluwa Osuntokun committed 2017-07-30 17:47:51 -07:00
1 parent 53f45e8210
commit f7800709ba
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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:])