Skip to content

Commit

Permalink
[ADS-256] Fix ip6 abbreviate method to return non encoded String
Browse files Browse the repository at this point in the history
  • Loading branch information
DonCziken committed Dec 3, 2020
1 parent 9e99b12 commit d8bde32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/adscore/signature/IpV6Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static String abbreviate(String ipAddress) throws SignatureVerificationException
}

try {
return new IPAddressString(ipAddress).toAddress().toIPv6().toBase85String();
return new IPAddressString(ipAddress).toAddress().toIPv6().toString();
} catch (AddressStringException e) {
throw new SignatureVerificationException(String.format("Invalid address: %s", ipAddress));
}
Expand Down

0 comments on commit d8bde32

Please sign in to comment.