From 884ee67cb6016fb05a12396e5c72fee41d5ad218 Mon Sep 17 00:00:00 2001 From: yan-soon Date: Mon, 6 May 2024 16:18:14 +0800 Subject: [PATCH] test no sort, with validator field --- oracle/service/runner/runner.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oracle/service/runner/runner.go b/oracle/service/runner/runner.go index ed9a29dc1b7..623e86cdad0 100644 --- a/oracle/service/runner/runner.go +++ b/oracle/service/runner/runner.go @@ -2,9 +2,7 @@ package runner import ( "context" - "sort" - // "sort" "time" log "github.com/sirupsen/logrus" @@ -63,7 +61,7 @@ func ProcessSignVoteQueue(oracleInfo *types.OracleInfo, consensusState *cs.State unsignedVotes := oracleInfo.UnsignedVoteBuffer.Buffer // sort the votes so that we can rebuild it in a deterministic order, when uncompressing - sort.Sort(ByVote(unsignedVotes)) + // sort.Sort(ByVote(unsignedVotes)) // batch sign the entire unsignedVoteBuffer and add to gossipBuffer newGossipVote := &oracleproto.GossipedVotes{