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

style(bitswap) make signature more readable

parent db399638
......@@ -114,9 +114,9 @@ func (bs *bitswap) HasBlock(ctx context.Context, blk blocks.Block) error {
}
// TODO(brian): handle errors
func (bs *bitswap) ReceiveMessage(
ctx context.Context, p *peer.Peer, incoming bsmsg.BitSwapMessage) (
func (bs *bitswap) ReceiveMessage(ctx context.Context, p *peer.Peer, incoming bsmsg.BitSwapMessage) (
*peer.Peer, bsmsg.BitSwapMessage, error) {
if p == nil {
return nil, nil, errors.New("Received nil Peer")
}
......
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