Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Apr 26, 2017
1 parent 2b20e15 commit 12520c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/NetworkProcessorNet.go
Expand Up @@ -63,13 +63,13 @@ func Peer_msgs(fnode *FactomNode, msgChan chan interfaces.IMsg) {
if !fnode.State.GetNetStateOff() {
msg, err = peer.Recieve()
}

if err != nil {
fmt.Println("ERROR recieving message on", fnode.State.FactomNodeName+":", err)
break
continue
}

if msg == nil {
// Recieve is not blocking; nothing to do, we get a nil.
// Receive is not blocking; nothing to do, we get a nil.
break
}

Expand Down

0 comments on commit 12520c6

Please sign in to comment.