Updated on 2026-08-14

This commit is contained in:
Tangem 2020-03-02 16:25:33 +03:00
parent 46a24f54ec
commit 35e1f44a3e

View file

@ -44,8 +44,7 @@ public class CashAddr {
byte[] checksumBytes = calculateChecksumBytesPolymod(allChecksumInput);
checksumBytes = convertBits(checksumBytes, 8, 5, true);
String cashAddress = BitcoinCashBase32.encode(concatenateByteArrays(payloadBytes, checksumBytes));
//return prefixString + SEPARATOR + cashAddress;
return cashAddress;
return prefixString + SEPARATOR + cashAddress;
}
public static BitcoinCashAddressDecodedParts decodeCashAddress(String bitcoinCashAddress) {