mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-10 15:18:09 +00:00
[tests] Fix import order in getblocktemplate test
This commit is contained in:
parent
7c87a9c748
commit
32cffe6bef
@ -4,13 +4,13 @@
|
|||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
"""Test block proposals with getblocktemplate."""
|
"""Test block proposals with getblocktemplate."""
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
|
||||||
from test_framework.util import *
|
|
||||||
|
|
||||||
from binascii import a2b_hex, b2a_hex
|
from binascii import a2b_hex, b2a_hex
|
||||||
from hashlib import sha256
|
from hashlib import sha256
|
||||||
from struct import pack
|
from struct import pack
|
||||||
|
|
||||||
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
|
from test_framework.util import *
|
||||||
|
|
||||||
def b2x(b):
|
def b2x(b):
|
||||||
return b2a_hex(b).decode('ascii')
|
return b2a_hex(b).decode('ascii')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user