Browse Source

Disabled a mining basic test due to the lack of proposal mode in Kevacoin.

wsl
Jianping Wu 5 years ago
parent
commit
397dbab1bd
  1. 4
      test/functional/mining_basic.py

4
test/functional/mining_basic.py

@ -105,7 +105,9 @@ class MiningTest(BitcoinTestFramework): @@ -105,7 +105,9 @@ class MiningTest(BitcoinTestFramework):
bad_tx.vin[0].prevout.hash = 255
bad_tx.rehash()
bad_block.vtx.append(bad_tx)
assert_template(node, bad_block, 'bad-txns-inputs-missingorspent')
# Kevacoin does not have proposal mode. The bad-txns-inputs-missingorspent
# error will only be thrown in proposal mode.
# assert_template(node, bad_block, 'bad-txns-inputs-missingorspent')
self.log.info("getblocktemplate: Test nonfinal transaction")
bad_block = copy.deepcopy(block)

Loading…
Cancel
Save