Replace BOOST_FOREACH with for..:
Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
parent
92cec200ee
commit
bf381ad580
|
@ -250,7 +250,7 @@ TEST(FundingStreamsRewardTest, Zip207Distribution) {
|
||||||
auto shares = GetActiveFundingStreamShares(nHeight, blockSubsidy, consensus);
|
auto shares = GetActiveFundingStreamShares(nHeight, blockSubsidy, consensus);
|
||||||
|
|
||||||
CAmount totalFunding = 0;
|
CAmount totalFunding = 0;
|
||||||
BOOST_FOREACH(Consensus::FundingStreamShare share, shares) {
|
for (Consensus::FundingStreamShare share : shares) {
|
||||||
totalFunding += share.second;
|
totalFunding += share.second;
|
||||||
}
|
}
|
||||||
EXPECT_EQ(totalFunding, blockSubsidy / 5);
|
EXPECT_EQ(totalFunding, blockSubsidy / 5);
|
||||||
|
|
Loading…
Reference in New Issue