Browse Source

[tests] Fix import order in getblocktemplate test

0.15
John Newbery 8 years ago
parent
commit
32cffe6bef
  1. 6
      test/functional/getblocktemplate_proposals.py

6
test/functional/getblocktemplate_proposals.py

@ -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…
Cancel
Save