Add base case to CurrentEpoch()
This commit is contained in:
parent
792c05d8a9
commit
f0118aaa0b
|
@ -67,6 +67,8 @@ int CurrentEpoch(int nHeight, const Consensus::Params& params) {
|
|||
return idxInt;
|
||||
}
|
||||
}
|
||||
// Base case
|
||||
return Consensus::BASE_SPROUT;
|
||||
}
|
||||
|
||||
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params) {
|
||||
|
|
Loading…
Reference in New Issue