aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_compactblocks.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-09 15:44:40 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-09 15:44:44 +0100
commit09e60df115f752ed9843d307db88238b7af577bb (patch)
treec2128bd3688c17467fb4eebede7d3822ba17609d /test/functional/p2p_compactblocks.py
parentaab5e48d422d396aec09bd6389de68613b19def5 (diff)
parentfa1b63c01887adff83f16b1bbba3bd159dc51104 (diff)
downloadbitcoin-09e60df115f752ed9843d307db88238b7af577bb.tar.xz
Merge bitcoin/bitcoin#23723: test: Replace hashlib.new with named constructor
fa1b63c01887adff83f16b1bbba3bd159dc51104 test: Replace hashlib.new with named constructor (MarcoFalke) Pull request description: A small refactor that doesn't matter too much, but it using the named constructor is nice because: * It clarifies that it is a built-in function * It is (trivially) faster and less code. ACKs for top commit: Zero-1729: ACK fa1b63c01887adff83f16b1bbba3bd159dc51104 w0xlt: ACK fa1b63c Tree-SHA512: d23dc4552c1e6fc1f90f8272e47e4efcbe727f0b66a6f6a264db8a50ee6cb6d57a2809befcb95fda6725136672268633817a03dd1859f2298d20e3f9e0ca4a7f
Diffstat (limited to 'test/functional/p2p_compactblocks.py')
0 files changed, 0 insertions, 0 deletions