From 3db07568aef9c2ddc1f9b305368cb45b8e3ec66c Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Thu, 14 Mar 2024 12:24:06 +1000 Subject: [PATCH] Refactor PluginPrivacyController (#6725) fix parameter name to match overridden method Signed-off-by: Usman Saleem --- .../besu/ethereum/privacy/PluginPrivacyController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PluginPrivacyController.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PluginPrivacyController.java index 22cb76d4503..93c04c4954b 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PluginPrivacyController.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/PluginPrivacyController.java @@ -124,7 +124,7 @@ public String deletePrivacyGroup(final String privacyGroupId, final String priva @Override public Optional findPrivacyGroupByGroupId( final String privacyGroupId, final String privacyUserId) { - verifyPrivacyGroupContainsPrivacyUserId(privacyUserId, privacyGroupId); + verifyPrivacyGroupContainsPrivacyUserId(privacyGroupId, privacyUserId); return Optional.of( new PrivacyGroup( @@ -155,7 +155,7 @@ public void verifyPrivacyGroupContainsPrivacyUserId( @Override public void verifyPrivacyGroupContainsPrivacyUserId( - final String privacyUserId, final String privacyGroupId) { - verifyPrivacyGroupContainsPrivacyUserId(privacyUserId, privacyGroupId, Optional.empty()); + final String privacyGroupId, final String privacyUserId) { + verifyPrivacyGroupContainsPrivacyUserId(privacyGroupId, privacyUserId, Optional.empty()); } }