Fixed C++ stuff

This commit is contained in:
MoneroOcean
2018-05-01 22:05:39 +02:00
parent de3c9a5e70
commit 9f1653fbeb

View File

@@ -389,9 +389,11 @@ namespace cryptonote
{
bytecoin_block parent_block;
transaction miner_tx(blob_type);
transaction miner_tx;
std::vector<crypto::hash> tx_hashes;
block() : miner_tx(blob_type) {}
BEGIN_SERIALIZE_OBJECT()
FIELDS(*static_cast<block_header *>(this))
if (blob_type == BLOB_TYPE_FORKNOTE2)