diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-11-30 00:18:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-11-30 00:18:48 +0200 |
commit | c6bf73131aaf804cb17f24c856f826be2761a566 (patch) | |
tree | 7b086a29fb5cca4f456e9e76d1bcd6e97d63988b | |
parent | Merge pull request #505 (diff) | |
parent | core: serialize block major/minor versions as bytes, not varints (diff) | |
download | monero-c6bf73131aaf804cb17f24c856f826be2761a566.tar.xz |
Merge pull request #506
e45a8c9 core: serialize block major/minor versions as bytes, not varints (moneromooo-monero)
-rw-r--r-- | src/cryptonote_core/cryptonote_basic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h index 94887b5a0..aa8ba4f39 100644 --- a/src/cryptonote_core/cryptonote_basic.h +++ b/src/cryptonote_core/cryptonote_basic.h @@ -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) |