@Test
public void testCoinbaseHeightCheckWithDamagedScript() throws VerificationException {

    // Coinbase transaction from block 224,430
    final byte[] transactionBytes = HEX.decode(
        "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff3b03ae6c0300044bd7031a0400000000522cfabe6d6d00000000000000b7b8bf0100000068692066726f6d20706f6f6c7365727665726aac1eeeed88ffffffff01e0587597000000001976a91421c0d001728b3feaf115515b7c135e779e9f442f88ac00000000");
    final int height = 224430;
    final Transaction transaction = UNITTEST.getDefaultSerializer().makeTransaction(transactionBytes);
    transaction.checkCoinBaseHeight(height);
}