|
|
|
@ -10,9 +10,9 @@ public class WalletConnectSessionItem |
|
|
|
|
public String name = ""; |
|
|
|
|
public String url = ""; |
|
|
|
|
public String icon = ""; |
|
|
|
|
public final String sessionId; |
|
|
|
|
public final String localSessionId; |
|
|
|
|
public final long chainId; |
|
|
|
|
public String sessionId; |
|
|
|
|
public String localSessionId; |
|
|
|
|
public long chainId; |
|
|
|
|
|
|
|
|
|
public WalletConnectSessionItem(RealmWCSession s) |
|
|
|
|
{ |
|
|
|
@ -26,4 +26,9 @@ public class WalletConnectSessionItem |
|
|
|
|
localSessionId = s.getSessionId(); |
|
|
|
|
chainId = s.getChainId() == 0 ? 1 : s.getChainId(); //older sessions without chainId set must be mainnet
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public WalletConnectSessionItem() |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|