Commit f6e006bd authored by Brian Tiger Chow's avatar Brian Tiger Chow

refac(bitswap:exch) HasBlock(ptr) -> HasBlock(val)

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