Use for..: rather than BOOST_FOREACH

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Kris Nuttycombe 2020-06-29 15:53:41 -06:00 committed by GitHub
parent 1c00a0b541
commit 665b8c647b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ public:
miner_reward,
chainparams.GetConsensus());
BOOST_FOREACH(Consensus::FundingStreamShare share, requiredShares) {
for (Consensus::FundingStreamShare share : requiredShares) {
miner_reward -= share.second;
bool added = boost::apply_visitor(AddFundingStreamShareToTx(mtx, ctx, share.second), share.first);
if (!added) {