@Test
public void testCoinbaseHeightCheckWithDamagedScript() throws VerificationException {

    // Coinbase transaction from block 224,430
    final byte[] transactionBytes = HEX.decode(
        "010000000100000000000000000000000000000000000000000000000000000000"
        + "00000000ffffffff3b03ae6c0300044bd7031a0400000000522cfabe6d6d0000"
        + "0000000000b7b8bf0100000068692066726f6d20706f6f6c7365727665726aac"
        + "1eeeed88ffffffff01e0587597000000001976a91421c0d001728b3feaf11551"
        + "5b7c135e779e9f442f88ac00000000");
    final int height = 224430;
    final Transaction transaction = PARAMS.getDefaultSerializer().makeTransaction(transactionBytes);
    transaction.checkCoinBaseHeight(height);
}