Commit 11d0c726 authored by Steven Allen's avatar Steven Allen

test: fix incorrect check

parent d6002bcb
......@@ -141,8 +141,8 @@ func TestMessageSendAndReceive(t *testing.T) {
}
receivedWant := receivedWants[0]
if receivedWant.Cid != sentWant.Cid ||
receivedWant.Priority != receivedWant.Priority ||
receivedWant.Cancel != receivedWant.Cancel {
receivedWant.Priority != sentWant.Priority ||
receivedWant.Cancel != sentWant.Cancel {
t.Fatal("Sent message wants did not match received message wants")
}
sentBlocks := sent.Blocks()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment