MERGE-FIX: functional tests

This commit is contained in:
Gregory Sanders 2019-01-28 18:09:48 +00:00
parent 51584e73a3
commit 90f7d18c8f
6 changed files with 10 additions and 18 deletions

View file

@ -156,8 +156,6 @@ class MiningTest(BitcoinTestFramework):
self.log.info('submitheader tests')
assert_raises_rpc_error(-22, 'Block header decode failed', lambda: node.submitheader(hexdata='xx' * TX_COUNT_OFFSET))
assert_raises_rpc_error(-22, 'Block header decode failed', lambda: node.submitheader(hexdata='ff' * (TX_COUNT_OFFSET-2)))
import pdb
pdb.set_trace()
assert_raises_rpc_error(-25, 'Must submit previous header', lambda: node.submitheader(hexdata=super(CBlock, bad_block).serialize().hex()))
block.nTime += 1