diff --git a/test/functional/mining_basic.py b/test/functional/mining_basic.py index 03097805c3..32b9f2725a 100755 --- a/test/functional/mining_basic.py +++ b/test/functional/mining_basic.py @@ -123,6 +123,7 @@ class MiningTest(BitcoinTestFramework): assert_template(node, bad_block, 'bad-cb-missing') self.log.info("submitblock: Test invalid coinbase transaction") + assert_raises_rpc_error(-22, "Block does not start with a coinbase", node.submitblock, CBlock().serialize().hex()) assert_raises_rpc_error(-22, "Block does not start with a coinbase", node.submitblock, bad_block.serialize().hex()) self.log.info("getblocktemplate: Test truncated final transaction")