Unverified Commit 72d351cb authored by Steven Allen's avatar Steven Allen Committed by GitHub

fix: don't say we're sending a full wantlist unless we are (#429)

I'm not sure why we set "full" to true here, but this could be the source of a
whole bunch of bidirectional sync issues. That is, if two peers are syncing off
each other, they could repeatedly "reset" each other's wantlist to "empty".
parent f29c774e
......@@ -421,7 +421,7 @@ func (e *Engine) nextEnvelope(ctx context.Context) (*Envelope, error) {
}
// Create a new message
msg := bsmsg.New(true)
msg := bsmsg.New(false)
log.Debugw("Bitswap process tasks", "local", e.self, "taskCount", len(nextTasks))
......
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