Commit 8ea3a4b9 authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(bitswap) add deliverBlocks Event

parent 6778e426
...@@ -276,6 +276,7 @@ func (bs *bitswap) taskWorker(ctx context.Context) { ...@@ -276,6 +276,7 @@ func (bs *bitswap) taskWorker(ctx context.Context) {
if !ok { if !ok {
continue continue
} }
log.Event(ctx, "deliverBlocks", envelope.Message, envelope.Peer)
bs.send(ctx, envelope.Peer, envelope.Message) bs.send(ctx, envelope.Peer, envelope.Message)
} }
} }
......
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