Skip to content
Snippets Groups Projects
Commit 5774e53f authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Remove erroneous return

parent 76669d42
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!10Make the message id index unique
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
......@@ -167,11 +167,8 @@ func (w *wasmModel) ReceiveMessage(channelID *id.ID,
if !messageID.Equals(cryptoChannel.MessageID{}) {
jww.DEBUG.Printf("non-empty messageID detected")
uuid, err := w.msgIDLookup(messageID)
if err == nil {
jww.DEBUG.Printf("MessageID found: %d", uuid)
// message is already in the database, no
// insert necessary
return uuid
if err == nil && uuid != 0 {
jww.WARN.Printf("MessageID found: %d", uuid)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment