Commit 59b4a639 authored by Jeromy's avatar Jeromy

beginnings of a bitswap refactor

parent ad96295e
......@@ -85,7 +85,7 @@ func (s *BlockService) GetBlock(ctx context.Context, k u.Key) (*blocks.Block, er
}, nil
} else if err == ds.ErrNotFound && s.Remote != nil {
log.Debug("Blockservice: Searching bitswap.")
blk, err := s.Remote.Block(ctx, k)
blk, err := s.Remote.GetBlock(ctx, k)
if err != nil {
return nil, 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