Browse Source

outerTomConfig.getPort(pid)

tags/1.1.5
zhaoguangwei 5 years ago
parent
commit
5d5de287e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/service/BftsmartNodeServer.java

+ 1
- 1
source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/service/BftsmartNodeServer.java View File

@@ -568,7 +568,7 @@ public class BftsmartNodeServer extends DefaultRecoverable implements NodeServer
for (int i = 0; i < processes.length; i++) {
int pid = processes[i];
if (curProcessId == pid) {
System.out.printf("outerTomConfig in current node, my viewId = %s , my process id = %s, host = %s, port = %s \r\n", id, pid, this.outerTomConfig.getHost(id), this.outerTomConfig.getPort(id));
System.out.printf("outerTomConfig in current node, my viewId = %s , my process id = %s, host = %s, port = %s \r\n", id, pid, this.outerTomConfig.getHost(pid), this.outerTomConfig.getPort(pid));
addresses[i] = new InetSocketAddress(this.outerTomConfig.getHost(pid), this.outerTomConfig.getPort(pid));
} else {
addresses[i] = currView.getAddress(pid);


Loading…
Cancel
Save