Closed Crypt-iQ closed 6 years ago
This PR fixes two simple bugs, an invalid type conversion of uint32(val) when uint64(val) should have been used (otherwise HopData is 61 bytes long) and an old struct member being used: p.Packet.Encode(w) instead of p.NextPacket.Encode(w).
HopData
p.Packet.Encode(w)
p.NextPacket.Encode(w)
This PR fixes two simple bugs, an invalid type conversion of uint32(val) when uint64(val) should have been used (otherwise
HopData
is 61 bytes long) and an old struct member being used:p.Packet.Encode(w)
instead ofp.NextPacket.Encode(w)
.