more fixes

forknote_comp
clintar 2016-03-24 03:33:39 -06:00
parent 15d682bfb6
commit 3e9fd69c9c
1 changed files with 2 additions and 8 deletions

View File

@ -458,15 +458,9 @@ namespace cryptonote
VARINT_FIELD(major_version)
if(major_version > BLOCK_MAJOR_VERSION_2) return false;
VARINT_FIELD(minor_version)
if (BLOCK_MAJOR_VERSION_1 == major_version)
{
VARINT_FIELD(timestamp)
}
VARINT_FIELD(timestamp)
FIELD(prev_id)
if (BLOCK_MAJOR_VERSION_1 == major_version)
{
FIELD(nonce)
}
FIELD(nonce)
END_SERIALIZE()
};