@Test
public void testDenyTransactionWithInvalidSignature() throws Exception {

    Transaction tx = Transaction.create(
            "3535353535353535353535353535353535353535",
            new BigInteger("1000000000000000000"),
            new BigInteger("9"),
            new BigInteger("20000000000"),
            new BigInteger("21000"),
            1);
    ECKey ecKey = ECKey.fromPrivate(Hex.decode("4646464646464646464646464646464646464646464646464646464646464646"));
    tx.sign(ecKey);
    TestBlockchainConfig parent = new TestBlockchainConfig();
    Eip160HFConfig config = new Eip160HFConfig(parent);
    // Corrupt the signature and assert it's *not* accepted
    tx.getSignature().v = 99;
    assertFalse(config.acceptTransactionSignature(tx));
}