From fa1aafc4549a69d88d944f886112b17e19bf92f4 Mon Sep 17 00:00:00 2001
From: Miguel Montes <miguel.montes@gmail.com>
Date: Wed, 12 Dec 2018 11:45:00 -0300
Subject: [PATCH] =?UTF-8?q?Ordenaci=C3=B3n=20de=20la=20salida=20del=20coma?=
 =?UTF-8?q?ndo=20proposals?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 bfa_client/src/bfa/node.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bfa_client/src/bfa/node.go b/bfa_client/src/bfa/node.go
index 93f8c87..09882ed 100644
--- a/bfa_client/src/bfa/node.go
+++ b/bfa_client/src/bfa/node.go
@@ -230,6 +230,7 @@ func (node *Node) Votes(blockNumber int64) (votes Proposals) {
 	for proposal := range snapshot.Tally {
 		votes.Proposals = append(votes.Proposals, BytesToHex(proposal[:]))
 	}
+	sort.Strings(votes.Proposals)
 	votes.Votes = make(map[string]map[string]*bool)
 	votes.Tally = make(map[string]*Tally)
 	for _, v := range snapshot.Votes {
-- 
GitLab