Updated on 2026-08-14
This commit is contained in:
commit
dba6bdecdd
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ public class EosEngine extends CoinEngine {
|
|||
public String calculateAddress(byte[] pkCompressed) {
|
||||
String cid = Util.bytesToHex(ctx.getCard().getCID()).toLowerCase();
|
||||
String address = cid.substring(0, 4) + cid.substring(8, 16);
|
||||
address = address.replace("0", "o").replace("6", "b").replace("7,", "t").replace("8", "s").replace("9", "g");
|
||||
address = address.replace("0", "o").replace("6", "b").replace("7", "t").replace("8", "s").replace("9", "g");
|
||||
return address;
|
||||
|
||||
// String cid = Util.bytesToHex(ctx.getCard().getCID());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue