Used uint32 for roundtime and timeout fields. (#248)

This commit is contained in:
Ravin Perera
2021-02-17 12:21:51 +05:30
committed by GitHub
parent 90641e0849
commit e394497698
16 changed files with 51 additions and 51 deletions

View File

@@ -1070,7 +1070,7 @@ namespace consensus
if (perform_detection)
{
LOG_DEBUG << "Detecting roundtime...";
const uint16_t majority_roundtime = unl::get_majority_roundtime();
const uint32_t majority_roundtime = unl::get_majority_roundtime();
if (majority_roundtime == 0 || conf::cfg.contract.roundtime == majority_roundtime)
return;