Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit b0289c1

Browse files
committed
Fix bug in handleNewMessage
1 parent fc000ee commit b0289c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/service/service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (service *OpenBazaarService) handleNewMessage(s inet.Stream, incoming bool)
9191
return
9292
}
9393
log.Errorf("Error unmarshaling data: %s", err)
94-
continue
94+
return
9595
}
9696

9797
if pmes.IsResponse {

0 commit comments

Comments
 (0)