Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 54eaf71

Browse files
Fixed connection issue
1 parent a6146d3 commit 54eaf71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/duco_miner/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void get_pool(){
9797
}
9898
try {
9999
ip = (String)json_response.get("ip");
100-
port = Integer.parseInt((String)json_response.get("port"));
100+
port = (Integer)json_response.get("port");
101101
}catch(Exception e){
102102
return;
103103
}

0 commit comments

Comments
 (0)