From 9f1653fbebffa94e9547f4796cfb6fb86996da2c Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 1 May 2018 22:05:39 +0200 Subject: [PATCH] Fixed C++ stuff --- src/cryptonote_core/cryptonote_basic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cryptonote_core/cryptonote_basic.h b/src/cryptonote_core/cryptonote_basic.h index 57dedc5..886cb6f 100644 --- a/src/cryptonote_core/cryptonote_basic.h +++ b/src/cryptonote_core/cryptonote_basic.h @@ -389,9 +389,11 @@ namespace cryptonote { bytecoin_block parent_block; - transaction miner_tx(blob_type); + transaction miner_tx; std::vector tx_hashes; + block() : miner_tx(blob_type) {} + BEGIN_SERIALIZE_OBJECT() FIELDS(*static_cast(this)) if (blob_type == BLOB_TYPE_FORKNOTE2)