Skip to content

Commit a287b3f

Browse files
authored
Merge pull request #567 from evoskuil/master
Whitespace, use reference.
2 parents 9252d75 + 75f0b14 commit a287b3f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/bitcoin/database/impl/query/consensus.ipp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ bool CLASS::get_conflicts(point_links& points, const point& point,
224224
if (get.point_fk != self)
225225
points.push_back(get.point_fk);
226226
}
227-
228227
while (it.advance());
229228
return true;
230229
}
@@ -337,7 +336,7 @@ code CLASS::populate_prevouts(point_sets& sets, size_t points,
337336
for (auto& set: sets)
338337
for (auto& point: set.points)
339338
{
340-
const auto pair = *it++;
339+
const auto& pair = *it++;
341340
point.tx = table::prevout::record_get::output_tx_fk(pair.first);
342341
point.coinbase = table::prevout::record_get::coinbase(pair.first);
343342
point.sequence = pair.second;

0 commit comments

Comments
 (0)