Fix hash256() imports

Importing util.* results in the wrong version of hash256 being imported
This commit is contained in:
Alexander Block 2019-09-24 11:49:50 +02:00
parent 7b80cc8040
commit 7a44dc1956
3 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,7 @@ from collections import namedtuple
from test_framework.mininode import *
from test_framework.test_framework import DashTestFramework
from test_framework.util import *
from test_framework.util import p2p_port, assert_equal, sync_blocks, set_node_times
'''
dip4-coinbasemerkleroots.py

View File

@ -3,11 +3,13 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
import time
from decimal import Decimal
from test_framework import mininode
from test_framework.blocktools import get_masternode_payment, create_coinbase, create_block
from test_framework.mininode import *
from test_framework.test_framework import DashTestFramework
from test_framework.util import *
from test_framework.util import sync_blocks, p2p_port, assert_raises_jsonrpc, set_node_times
'''
llmq-is-cl-conflicts.py

View File

@ -5,7 +5,8 @@
from test_framework.mininode import *
from test_framework.test_framework import DashTestFramework
from test_framework.util import *
from test_framework.util import isolate_node, set_node_times, reconnect_isolated_node, assert_equal, \
assert_raises_jsonrpc
'''
InstantSendTest -- test InstantSend functionality (prevent doublespend for unconfirmed transactions)