diff --git a/ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/AccountPermissioningProvider.java b/ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/TransactionPermissioningProvider.java similarity index 93% rename from ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/AccountPermissioningProvider.java rename to ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/TransactionPermissioningProvider.java index b9a40295f4..3ba83abeef 100644 --- a/ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/AccountPermissioningProvider.java +++ b/ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/TransactionPermissioningProvider.java @@ -15,6 +15,6 @@ import tech.pegasys.pantheon.ethereum.core.Transaction; @FunctionalInterface -public interface AccountPermissioningProvider { +public interface TransactionPermissioningProvider { boolean isPermitted(final Transaction transaction); }