mirror of https://github.com/oxen-io/lokinet
Fix version encoding
We are reinterpret_cast'ing the version to a string to send it as raw bytes, but it was sending \x00\x00\x09 instead of \x00\x09\x0a because the version constant was actually a uint16_t array. This just makes the version constant a uint8_t array instead so that it works (and I am not at all worried about any version component getting larger than 255).pull/2232/head
parent
ba6c8ee320
commit
dab6e90f7d
Loading…
Reference in New Issue