diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-11 10:37:39 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-11 14:09:31 +0000 |
commit | 88c9d90ac44522b9ac152be4af9595558da8ba7e (patch) | |
tree | 8959c19f2b5bb08433f9bf1a61da6ef4e1bba423 /src | |
parent | Merge pull request #5978 (diff) | |
download | monero-88c9d90ac44522b9ac152be4af9595558da8ba7e.tar.xz |
protocol: initialize block_weight in block_complete_entry ctor
CID 204479
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_defs.h | 2 |
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) {} }; |