test: remove ToHex helper, use .serialize().hex() instead

This commit is contained in:
Sebastian Falbesoner committed 2021-06-21 14:30:03 +02:00
1 parent 2ce7b47958
commit a79396fe5f
17 files changed
+128 -102

No files matched your search

+9 -2
View File
@@ -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,