protocol: initialize block_weight in block_complete_entry ctor

CID 204479
release-v0.7.1.0
moneromooo-monero 5 years ago
parent d66db18c06
commit 88c9d90ac4
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save