Skip to content

Commit 7a44dc1

Browse files
committed
Fix hash256() imports
Importing util.* results in the wrong version of hash256 being imported
1 parent 7b80cc8 commit 7a44dc1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

test/functional/dip4-coinbasemerkleroots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from test_framework.mininode import *
88
from test_framework.test_framework import DashTestFramework
9-
from test_framework.util import *
9+
from test_framework.util import p2p_port, assert_equal, sync_blocks, set_node_times
1010

1111
'''
1212
dip4-coinbasemerkleroots.py

test/functional/llmq-is-cl-conflicts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
import time
6+
from decimal import Decimal
67

8+
from test_framework import mininode
79
from test_framework.blocktools import get_masternode_payment, create_coinbase, create_block
810
from test_framework.mininode import *
911
from test_framework.test_framework import DashTestFramework
10-
from test_framework.util import *
12+
from test_framework.util import sync_blocks, p2p_port, assert_raises_jsonrpc, set_node_times
1113

1214
'''
1315
llmq-is-cl-conflicts.py

test/functional/p2p-instantsend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
from test_framework.mininode import *
77
from test_framework.test_framework import DashTestFramework
8-
from test_framework.util import *
8+
from test_framework.util import isolate_node, set_node_times, reconnect_isolated_node, assert_equal, \
9+
assert_raises_jsonrpc
910

1011
'''
1112
InstantSendTest -- test InstantSend functionality (prevent doublespend for unconfirmed transactions)

0 commit comments

Comments
 (0)