Return 0 for unfound epoch

This commit is contained in:
jl777
2018-11-01 07:33:41 -11:00
parent 0cf7cae07c
commit dbf864cfcc

View File

@@ -69,6 +69,7 @@ int CurrentEpoch(int nHeight, const Consensus::Params& params) {
return idxInt;
}
}
return(0); // jl777 seems the right value to return
}
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params) {