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
1 changed files with 1 additions and 1 deletions

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) {}
};