Skip to content

Commit

Permalink
reverted some logs
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com>
  • Loading branch information
freemanzMrojo committed Aug 19, 2022
1 parent ecde451 commit 57faef6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ public static List<String> decodeList(final Bytes rlpEncodedList) {
return getParticipantsFromMungedParticipants(mungedParticipants, lengthOfList);
}

@VisibleForTesting
public static List<String> getParticipantsFromMungedParticipants(
private static List<String> getParticipantsFromMungedParticipants(
final Bytes mungedParticipants, final int numberOfParticipants) {
final List<String> participants = new ArrayList<>();
// The participant value is enclosed in the closest multiple of 32 (for instance, 91 would be
Expand Down

0 comments on commit 57faef6

Please sign in to comment.