HomePhabricator

[tests] use uint256_hex instead of repeating the string formatting pattern

Description

[tests] use uint256_hex instead of repeating the string formatting pattern

Summary:
Follow-up to D11868

This change makes the code more readable by abstracting the int-to-hex string formatting.

Test Plan:
ninja check-functional-extended

grep -r "064x" test/functional
grep -r "0{64}x" test/functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13130

Details

Provenance
PiRKAuthored on Feb 15 2023, 08:35
PiRKPushed on Feb 15 2023, 12:53
Reviewer
Restricted Project
Differential Revision
D13130: [tests] use uint256_hex instead of repeating the string formatting pattern
Parents
rABC54112d1894de: scripted-diff: rename CChainState -> Chainstate
Branches
Unknown
Tags
Unknown