File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/tron/consensus/client Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ public class Client {
45
45
client .serializer ().register (PutCommand .class );
46
46
client .serializer ().register (GetQuery .class );
47
47
48
- Collection <Address > cluster = Arrays .asList (
48
+ /* Collection<Address> cluster = Arrays.asList(
49
49
new Address("192.168.0.100", 5000)
50
50
);
51
51
CompletableFuture<CopycatClient> future = client.connect(cluster);
52
- future .join ();
53
- /* InetAddress localhost = null;
52
+ future.join();*/
53
+ InetAddress localhost = null ;
54
54
try {
55
55
localhost = InetAddress .getLocalHost ();
56
56
Collection <Address > cluster = Arrays .asList (
@@ -61,7 +61,7 @@ public class Client {
61
61
future .join ();
62
62
} catch (UnknownHostException e ) {
63
63
e .printStackTrace ();
64
- }*/
64
+ }
65
65
}
66
66
67
67
public static CopycatClient getClient () {
You can’t perform that action at this time.
0 commit comments