aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 10:37:39 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 14:09:31 +0000
commit88c9d90ac44522b9ac152be4af9595558da8ba7e (patch)
tree8959c19f2b5bb08433f9bf1a61da6ef4e1bba423
parentMerge pull request #5978 (diff)
downloadmonero-88c9d90ac44522b9ac152be4af9595558da8ba7e.tar.xz
protocol: initialize block_weight in block_complete_entry ctor
CID 204479
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index 3d594bf83..dcd108626 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -160,7 +160,7 @@ namespace cryptonote
}
END_KV_SERIALIZE_MAP()
- block_complete_entry(): pruned(false) {}
+ block_complete_entry(): pruned(false), block_weight(0) {}
};