diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-24 14:24:03 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-24 14:24:14 -0400 |
commit | 532b134cb0d0887a14fe79c2a2604498921caf6f (patch) | |
tree | 0aa7480acb3fa0162f49ab989bd40a8274acffe0 /test/functional/p2p_addr_relay.py | |
parent | 205b87d2f6bd01285de50ba742e32e4ab1298b13 (diff) | |
parent | bd93e32292c96b671e71223032ff8f660ce27c5d (diff) | |
download | bitcoin-532b134cb0d0887a14fe79c2a2604498921caf6f.tar.xz |
Merge #19373: refactor: Replace HexStr(o.begin(), o.end()) with HexStr(o)
bd93e32292c96b671e71223032ff8f660ce27c5d refactor: Replace HexStr(o.begin(), o.end()) with HexStr(o) (Wladimir J. van der Laan)
Pull request description:
HexStr can be called with anything that bas `begin()` and `end()` functions, so clean up the redundant calls.
(context: I tried to convert `HexStr` to use span, but this turns out to be somewhat more involved than I thought, because of the limitation to pre-c++17 Span lacking iterator-based constructor) . This commit is a first step which stands on its own though)
ACKs for top commit:
jonatack:
ACK bd93e32292c96b671e71223032ff8f660ce27c5d
troygiorshev:
ACK bd93e32292c96b671e71223032ff8f660ce27c5d
MarcoFalke:
review ACK bd93e32292c96b671e71223032ff8f660ce27c5d 🔌
Tree-SHA512: 7e4c9d0259b8d23271d233095f1c51db1ee021e865361d74c05c10dd5129aa6d34a243323e2b4596d648e2d7b25c7ebdee37a3e4f99a27883cb4c3cd26432b08
Diffstat (limited to 'test/functional/p2p_addr_relay.py')
0 files changed, 0 insertions, 0 deletions