Closed mihailShumilov closed 3 years ago
Thanks @mihailShumilov appriciated
How do you know that the first entry returned is the one you want to use? What if the delinquent entry comes first and the non-delinquent one comes second? Does the API that you are using guarantee an order?
I don't think it does, and if it doesn't, then perhaps it would be better to look at both entries and compare fields whose values can be used to identify which entry to use. For example maybe the one with the highest most recent vote?
In case when someone, like me, has changed his vote account current selected returned two vote account ids that produced an error
To prevent that I have changed query to get first vote account id