diff --git a/packages/vote/net/server.go b/packages/vote/net/server.go
index c06f69840312825eeaae6abfe0e8f3e56a10f4e4..ad8b019469fb19d0b508df1b65e78d256bd00005 100644
--- a/packages/vote/net/server.go
+++ b/packages/vote/net/server.go
@@ -37,7 +37,7 @@ func (vs *VoterServer) Opinion(ctx context.Context, req *QueryRequest) (*QueryRe
 	for i, id := range req.Id {
 		// check whether there's an ongoing vote
 		opinion, err := vs.voter.IntermediateOpinion(id)
-		if err != nil {
+		if err == nil {
 			reply.Opinion[i] = int32(opinion)
 			continue
 		}