Current behaviour
When "consensus" returns 1 divergent response and 3 majority responses, then go-xrouter outputs the following:
2021/10/06 09:40:30 {
"Consensus": {
"MajorityStrength": "0.00%",
"MostCommonReplyCount": 0,
"MostCommonReply": "",
"DivergentReplyCount": 2,
"DivergentReplies": [
{
"Count": 1,
"Reply": "2182759"
},
{
"Count": 3,
"Reply": "2182760"
}
]
},
"QueryCount": ""
Intended behaviour
go-xrouter should return the majority response as a mostCommonReply not as a divergentReply.
Current behaviour
When "consensus" returns 1 divergent response and 3 majority responses, then go-xrouter outputs the following:
Intended behaviour
go-xrouter should return the majority response as a
mostCommonReplynot as adivergentReply.