Skip to content

Commit

Permalink
remove double processing of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Mar 22, 2017
1 parent 88dcbd0 commit 75e86fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/stateConsensus.go
Expand Up @@ -168,7 +168,7 @@ emptyLoop:
for room() {
select {
case msg := <-s.msgQueue:
process <- msg

if s.executeMsg(vm, msg) && !msg.IsPeer2Peer() {
msg.SendOut(s, msg)
}
Expand Down

0 comments on commit 75e86fc

Please sign in to comment.