more fixes since xmr hardfork version increased

This commit is contained in:
clintar
2016-03-24 03:18:20 -06:00
parent 0a259628ad
commit 15d682bfb6
2 changed files with 16 additions and 16 deletions

View File

@@ -479,11 +479,11 @@ namespace cryptonote
BEGIN_SERIALIZE_OBJECT()
FIELDS(*static_cast<block_header *>(this))
if (BLOCK_MAJOR_VERSION_2 <= major_version)
{
auto sbb = make_serializable_bytecoin_block(*this, false, false);
FIELD_N("parent_block", sbb);
}
// if (BLOCK_MAJOR_VERSION_2 <= major_version)
// {
// auto sbb = make_serializable_bytecoin_block(*this, false, false);
// FIELD_N("parent_block", sbb);
// }
FIELD(miner_tx)
FIELD(tx_hashes)
END_SERIALIZE()