mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 13:13:27 +01:00
Merge pull request #506
e45a8c9
core: serialize block major/minor versions as bytes, not varints (moneromooo-monero)
This commit is contained in:
commit
c6bf73131a
@ -284,8 +284,8 @@ namespace cryptonote
|
|||||||
uint32_t nonce;
|
uint32_t nonce;
|
||||||
|
|
||||||
BEGIN_SERIALIZE()
|
BEGIN_SERIALIZE()
|
||||||
VARINT_FIELD(major_version)
|
FIELD(major_version)
|
||||||
VARINT_FIELD(minor_version)
|
FIELD(minor_version)
|
||||||
VARINT_FIELD(timestamp)
|
VARINT_FIELD(timestamp)
|
||||||
FIELD(prev_id)
|
FIELD(prev_id)
|
||||||
FIELD(nonce)
|
FIELD(nonce)
|
||||||
|
Loading…
Reference in New Issue
Block a user