Commit 1c51a522 authored by Jeromy's avatar Jeromy

rework bitswap to reflect discussion on PR #32

parent 732b9a7e
......@@ -40,7 +40,7 @@ func (s *BlockService) AddBlock(b *blocks.Block) (u.Key, error) {
return k, err
}
if s.Remote != nil {
err = s.Remote.HaveBlock(b.Key())
err = s.Remote.HaveBlock(b)
}
return k, err
}
......
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