From 021daedfa100defad553d69cd3d628aaa5bc7caf Mon Sep 17 00:00:00 2001 From: Zero-1729 Date: Mon, 16 Aug 2021 19:30:44 +0100 Subject: refactor: replace remaining binascii method calls --- test/functional/test_framework/messages.py | 3 +-- test/util/bitcoin-util-test.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 6e57107f86..65d90f8448 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -19,7 +19,6 @@ Classes use __slots__ to ensure extraneous attributes aren't accidentally added by tests, compromising their intended effect. """ from base64 import b32decode, b32encode -from codecs import encode import copy import hashlib from io import BytesIO @@ -681,7 +680,7 @@ class CBlockHeader: r += struct.pack("