From 0afb17cc5165ef7535eed8580596e0a4e94631ce Mon Sep 17 00:00:00 2001 From: mark-terry <36909937+mark-terry@users.noreply.github.com> Date: Fri, 10 May 2019 16:24:33 +1000 Subject: [PATCH] [PAN-2601] Renamed AccountPermissioningProver to TransactionPermissioningProvider to better reflect the interface. (#1432) --- ...oningProvider.java => TransactionPermissioningProvider.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename ethereum/permissioning/src/main/java/tech/pegasys/pantheon/ethereum/permissioning/account/{AccountPermissioningProvider.java => TransactionPermissioningProvider.java} (93%) 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); }