Page MenuHomePhabricator

A pack of nits in merkleblock.{h|cpp}
ClosedPublic

Authored by deadalnix on May 22 2018, 14:01.

Details

Summary

Reformat comment, use early bail and C++11 loops.

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Also do serialization function

jasonbcox added inline comments.
src/merkleblock.cpp
21 ↗(On Diff #3930)

This could use a range loop.

jasonbcox requested changes to this revision.May 23 2018, 01:06
This revision now requires changes to proceed.May 23 2018, 01:06
deadalnix added inline comments.
src/merkleblock.cpp
21 ↗(On Diff #3930)

No, there is a make_pair using the index.

jasonbcox added inline comments.
src/merkleblock.cpp
21 ↗(On Diff #3930)

err. missed that

This revision is now accepted and ready to land.May 23 2018, 15:38
This revision was automatically updated to reflect the committed changes.