Skip to content

Commit 0eb6c04

Browse files
committed
fix consensus ip
2 parents 967b629 + f633641 commit 0eb6c04

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/main/java/org/tron/consensus/client/Client.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
import org.tron.overlay.message.Message;
1010
import org.tron.overlay.message.Type;
1111
import org.tron.peer.Peer;
12-
13-
import java.net.InetAddress;
14-
import java.net.UnknownHostException;
15-
import java.nio.channels.InterruptedByTimeoutException;
1612
import java.util.Arrays;
1713
import java.util.Collection;
1814
import java.util.concurrent.CompletableFuture;

src/main/java/org/tron/consensus/server/Server.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ public static void serverRun() {
2222
localhost = InetAddress.getLocalHost();
2323
System.out.println("Server localhost: " + localhost.getHostAddress
2424
());
25-
2625
Address address = new Address(localhost.getHostAddress(), 5000);
27-
2826
CopycatServer server = CopycatServer.builder(address)
2927
.withStateMachine(MapstateMachine::new)
3028
.withTransport(NettyTransport.builder()

0 commit comments

Comments
 (0)