class TxValidatorNotRemascTxValidator implements TxValidatorStep {

    @Override
    public boolean validate(Transaction tx, @Nullable AccountState state, BigInteger gasLimit, Coin minimumGasPrice, long bestBlockNumber, boolean isFreeTx) {
        if (!(tx instanceof RemascTransaction)) {
            return true;
        }

        logger.warn("Invalid transaction {}: it is a Remasc transaction", tx.getHash());

        return false;
    }

}