Update blockchain height to 64-bits according to the Whitepaper 0.9.2. Close #74

This commit is contained in:
Kleissner
2021-12-11 20:43:38 +01:00
parent 5db25f2704
commit c12b68c35c
6 changed files with 42 additions and 42 deletions

View File

@@ -152,6 +152,6 @@ func (packet *PacketRaw) SetSelfReportedPorts(portI, portE uint16) {
return
}
binary.LittleEndian.PutUint16(packet.Payload[15:17], portI)
binary.LittleEndian.PutUint16(packet.Payload[17:19], portE)
binary.LittleEndian.PutUint16(packet.Payload[19:19+2], portI)
binary.LittleEndian.PutUint16(packet.Payload[21:21+2], portE)
}