diff --git a/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/privacy/FlexiblePrivacyAcceptanceTestBase.java b/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/privacy/FlexiblePrivacyAcceptanceTestBase.java index 6b56a5955f3..4f084328f2e 100644 --- a/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/privacy/FlexiblePrivacyAcceptanceTestBase.java +++ b/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/privacy/FlexiblePrivacyAcceptanceTestBase.java @@ -120,8 +120,6 @@ protected PrivateTransactionReceipt buildExpectedAddMemberTransactionReceipt( output.append("0000000000000000000000000000000000000000000000000000000000000020"); // Length of the array (with padded zeros to the left) output.append(Quantity.longToPaddedHex(members.length, 32).substring(2)); - // Offset of the elements of the array - output.append(Quantity.longToPaddedHex(members.length, members.length * 32).substring(2)); // TODO continue here // Each member enclave key converted from Base64 to bytes for (final String member : members) { diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/FlexibleUtil.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/FlexibleUtil.java index f16869ddfc2..19026d9376e 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/FlexibleUtil.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/privacy/FlexibleUtil.java @@ -65,8 +65,7 @@ public static List decodeList(final Bytes rlpEncodedList) { return getParticipantsFromMungedParticipants(mungedParticipants, lengthOfList); } - @VisibleForTesting - public static List getParticipantsFromMungedParticipants( + private static List getParticipantsFromMungedParticipants( final Bytes mungedParticipants, final int numberOfParticipants) { final List participants = new ArrayList<>(); // The participant value is enclosed in the closest multiple of 32 (for instance, 91 would be