Merge pull request #506

e45a8c9 core: serialize block major/minor versions as bytes, not varints (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2015-11-30 00:18:44 +02:00
commit c6bf73131a
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ namespace cryptonote
uint32_t nonce;
BEGIN_SERIALIZE()
VARINT_FIELD(major_version)
VARINT_FIELD(minor_version)
FIELD(major_version)
FIELD(minor_version)
VARINT_FIELD(timestamp)
FIELD(prev_id)
FIELD(nonce)