I see really often the following message in the logs:

Transaction resolves to incorrect ledger balance: -8727317092450

I checked my version. It is the main net. But I guess I got a neighbor who is not on the main net. I also had trouble with other neighbors because of the old version.

So my question is: How do I check which neighbor is not on the main net?

1 Answer 1


check this out:

String name = instance.configuration.booling(Configuration.DefaultConfSettings.TESTNET) ? IRI.TESTNET_NAME : IRI.MAINNET_NAME;
                    return GetNodeInfoResponse.create(name, IRI.VERSION,



i.e. if you are looking at a list of nodes with their getNodeInfo data you might see: https://gist.github.com/andrewarrow/6d1eacc538ee973af77f399586767fd5

getNodeInfo is available via:

curl -H "Content-Type: application/json" -H "X-IOTA-API-Version: 1" -d '{"command": "getNodeInfo"}'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.