protocol: initialize block_weight in block_complete_entry ctor

CID 204479
This commit is contained in:
moneromooo-monero 2019-10-11 10:37:39 +00:00
parent d66db18c06
commit 88c9d90ac4
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -160,7 +160,7 @@ namespace cryptonote
}
END_KV_SERIALIZE_MAP()
block_complete_entry(): pruned(false) {}
block_complete_entry(): pruned(false), block_weight(0) {}
};