From a79396fe5f8f81c78cf84117a87074c6ff6c9d95 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Wed, 16 Jun 2021 00:32:18 +0200 Subject: test: remove `ToHex` helper, use .serialize().hex() instead --- test/functional/interface_zmq.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'test/functional/interface_zmq.py') diff --git a/test/functional/interface_zmq.py b/test/functional/interface_zmq.py index 0534618d06..15f352d68c 100755 --- a/test/functional/interface_zmq.py +++ b/test/functional/interface_zmq.py @@ -5,8 +5,15 @@ """Test the ZMQ notification interface.""" import struct -from test_framework.address import ADDRESS_BCRT1_UNSPENDABLE, ADDRESS_BCRT1_P2WSH_OP_TRUE -from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment +from test_framework.address import ( + ADDRESS_BCRT1_P2WSH_OP_TRUE, + ADDRESS_BCRT1_UNSPENDABLE, +) +from test_framework.blocktools import ( + add_witness_commitment, + create_block, + create_coinbase, +) from test_framework.test_framework import BitcoinTestFramework from test_framework.messages import ( CTransaction, -- cgit v1.2.3