mirror of https://github.com/bitcoin/bitcoin
We've chosen to htons/ntohs explicitly on reading and writing (I do not know why). But as READWRITE already does an endian swap on big endian, this means the port number gets switched around, which was what we were trying to avoid in the first place. So to make this compatible, serialize it as FLATDATA.pull/5510/head
parent
01f9c3449a
commit
aac3205375
Loading…
Reference in new issue