Fixed C++ stuff
This commit is contained in:
@@ -389,9 +389,11 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
bytecoin_block parent_block;
|
bytecoin_block parent_block;
|
||||||
|
|
||||||
transaction miner_tx(blob_type);
|
transaction miner_tx;
|
||||||
std::vector<crypto::hash> tx_hashes;
|
std::vector<crypto::hash> tx_hashes;
|
||||||
|
|
||||||
|
block() : miner_tx(blob_type) {}
|
||||||
|
|
||||||
BEGIN_SERIALIZE_OBJECT()
|
BEGIN_SERIALIZE_OBJECT()
|
||||||
FIELDS(*static_cast<block_header *>(this))
|
FIELDS(*static_cast<block_header *>(this))
|
||||||
if (blob_type == BLOB_TYPE_FORKNOTE2)
|
if (blob_type == BLOB_TYPE_FORKNOTE2)
|
||||||
|
|||||||
Reference in New Issue
Block a user