mtx.fOverwintered = true; mtx.nExpiryHeight = 0; mtx.nVersionGroupId = SAPLING_VERSION_GROUP_ID; mtx.nVersion = SAPLING_TX_VERSION;

This commit is contained in:
jl777
2019-07-12 00:58:31 -11:00
parent 59ef159612
commit 80fd6fee58

View File

@@ -97,7 +97,10 @@ int CurrentEpoch(int nHeight, const Consensus::Params& params) {
return Consensus::BASE_SPROUT;
}
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params) {
uint32_t CurrentEpochBranchId(int nHeight, const Consensus::Params& params)
{
if ( KOMODO_NSPV != 0 )
return(SAPLING_TX_VERSION);
return NetworkUpgradeInfo[CurrentEpoch(nHeight, params)].nBranchId;
}