mirror of https://github.com/poanetwork/quorum.git
Corrected enode format for Raft
This commit is contained in:
parent
6ee681156a
commit
4dc1f3376b
|
@ -339,6 +339,7 @@ func disconnectNode (stack *node.Node, enodeId, consensusEngine string){
|
||||||
}
|
}
|
||||||
|
|
||||||
// helper function to format EnodeId
|
// helper function to format EnodeId
|
||||||
|
// This will format the EnodeId and return
|
||||||
func formatEnodeId( enodeId , ipAddrPort, discPort, raftPort, consensusEngine string) string {
|
func formatEnodeId( enodeId , ipAddrPort, discPort, raftPort, consensusEngine string) string {
|
||||||
newEnodeId := "enode://" + enodeId + "@" + ipAddrPort + "?discPort=" + discPort
|
newEnodeId := "enode://" + enodeId + "@" + ipAddrPort + "?discPort=" + discPort
|
||||||
if consensusEngine == RAFT {
|
if consensusEngine == RAFT {
|
||||||
|
|
Loading…
Reference in New Issue