Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

get/peers/all generating empty array in response body. #238

Open
manjotmona opened this issue Apr 30, 2018 · 0 comments
Open

get/peers/all generating empty array in response body. #238

manjotmona opened this issue Apr 30, 2018 · 0 comments

Comments

@manjotmona
Copy link

I am running two nodes of TwinsCoin Application on the same machine.
Following below is the configuration setting for both the nodes:

//settings.conf
network {
nodeName = "generatorNode1"
bindAddress = "127.0.0.1:9084"
knownPeers = []
agentName = "2-Hop"
}

//settings2.conf
network {
nodeName = "node2"
bindAddress = "127.0.0.2:9088"
knownPeers = ["127.0.0.1:9084"]
agentName = "2-Hop"
}

get/peers/connected is showing the correct binding address on Swagger UI for both the nodes but get/peers/all is returning an empty array in the response body.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant