Add base case to CurrentEpoch()

This commit is contained in:
Jack Grigg 2018-03-13 01:47:14 +00:00
parent 792c05d8a9
commit f0118aaa0b
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 2 additions and 0 deletions

View File

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