Use for..: rather than BOOST_FOREACH
Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
parent
1c00a0b541
commit
665b8c647b
|
@ -176,7 +176,7 @@ public:
|
||||||
miner_reward,
|
miner_reward,
|
||||||
chainparams.GetConsensus());
|
chainparams.GetConsensus());
|
||||||
|
|
||||||
BOOST_FOREACH(Consensus::FundingStreamShare share, requiredShares) {
|
for (Consensus::FundingStreamShare share : requiredShares) {
|
||||||
miner_reward -= share.second;
|
miner_reward -= share.second;
|
||||||
bool added = boost::apply_visitor(AddFundingStreamShareToTx(mtx, ctx, share.second), share.first);
|
bool added = boost::apply_visitor(AddFundingStreamShareToTx(mtx, ctx, share.second), share.first);
|
||||||
if (!added) {
|
if (!added) {
|
||||||
|
|
Loading…
Reference in New Issue