mirror of https://github.com/zcash/zips.git
Bugfix in example implementation
This commit is contained in:
parent
2d62a442f5
commit
4b8685cdd9
|
@ -217,7 +217,7 @@ Example implementation
|
|||
const Consensus::Params& params)
|
||||
{
|
||||
std::set<std::pair<CScript, CAmount>> requiredStreams;
|
||||
for (int idx = Consensus::FS_FOUNDERS_REWARD; idx < Consensus::MAX_FUNDING_STREAMS; idx++) {
|
||||
for (int idx = Consensus::FS_ZECC_EF; idx < Consensus::MAX_FUNDING_STREAMS; idx++) {
|
||||
// Funding period is [startHeight, endHeight)
|
||||
if (nHeight >= params.vFundingPeriods[idx].startHeight &&
|
||||
nHeight < params.vFundingPeriods[idx].endHeight)
|
||||
|
|
Loading…
Reference in New Issue