Browse Source

Return 0 for unfound epoch

pull/4/head
jl777 6 years ago
parent
commit
dbf864cfcc
  1. 1
      src/consensus/upgrades.cpp

1
src/consensus/upgrades.cpp

@ -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) {

Loading…
Cancel
Save