aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-11-30 11:07:22 +0200
committerRiccardo Spagni <ric@spagni.net>2015-11-30 11:07:22 +0200
commit2ea8d7345fa6bebf99c0630fbaab4eae6d5805b2 (patch)
tree036f4a5d232e93925ba43ddd105c767cde3a2988 /src
parentMerge pull request #512 (diff)
downloadmonero-2ea8d7345fa6bebf99c0630fbaab4eae6d5805b2.tar.xz
Revert "Merge pull request #506"
This reverts commit c6bf73131aaf804cb17f24c856f826be2761a566, reversing changes made to 8a52cf4055d247dd4b162985c931e99683992e3c.
Diffstat (limited to 'src')
-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)