diff options
author | fanquake <fanquake@gmail.com> | 2023-04-04 10:12:19 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-04-04 10:36:45 +0100 |
commit | 49b87bfe7e2799d25ce709123ecafa872b36e87a (patch) | |
tree | f544bfcac1c8ee09d39af1f58b8376d0f19ccd36 /src/httprpc.cpp | |
parent | 369d4c03b7084de967576759545ba36a17fc18bb (diff) | |
parent | f842ed9a40c0db656b86f85e84dd4978865cc0a0 (diff) |
Merge bitcoin/bitcoin#27389: test: refactor: replace unnecessary `BytesIO` uses
f842ed9a40c0db656b86f85e84dd4978865cc0a0 test: refactor: replace unnecessary `BytesIO` uses (Sebastian Falbesoner)
Pull request description:
Rather than needing to create intermediate stream variables, we can use helper functions like `tx_from_hex` instead or access the result directly, leading both to increased readability and less code.
ACKs for top commit:
stickies-v:
ACK f842ed9a40c0db656b86f85e84dd4978865cc0a0
brunoerg:
crACK f842ed9a40c0db656b86f85e84dd4978865cc0a0
aureleoules:
ACK f842ed9a40c0db656b86f85e84dd4978865cc0a0 - It seems that these are the only instances that can be changed and it simplifies test code.
Tree-SHA512: 7f4fd7a26720d1988bf27f66c817ff6cd7060350a3be62d28e7848c768fd43578719ca475193d4057ccf4f2458af18564fd513fe3a1d458a11c799927c12bd65
Diffstat (limited to 'src/httprpc.cpp')
0 files changed, 0 insertions, 0 deletions