aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-11-30 11:08:15 +0200
committerRiccardo Spagni <ric@spagni.net>2015-11-30 11:08:29 +0200
commitb8572e62bc5b047b71b19ae86e59b8a1626d9175 (patch)
tree036f4a5d232e93925ba43ddd105c767cde3a2988
parentMerge pull request #512 (diff)
parentRevert "Merge pull request #506" (diff)
downloadmonero-b8572e62bc5b047b71b19ae86e59b8a1626d9175.tar.xz
Merge pull request #513
2ea8d73 Revert "Merge pull request #506" (Riccardo Spagni)
-rw-r--r--src/cryptonote_core/cryptonote_basic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h
index aa8ba4f39..94887b5a0 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()
- FIELD(major_version)
- FIELD(minor_version)
+ VARINT_FIELD(major_version)
+ VARINT_FIELD(minor_version)
VARINT_FIELD(timestamp)
FIELD(prev_id)
FIELD(nonce)