mirror of
https://git.hush.is/hush/hush3.git
synced 2025-09-26 00:05:12 -04:00
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;
|
return idxInt;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Base case
|
||||||
|
return Consensus::BASE_SPROUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params) {
|
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user