if not needed
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
45737f8a51
commit
c63eca1e45
@ -123,12 +123,10 @@ func (bss *BlockSyncService) processRequest(ctx context.Context, req *BlockSyncR
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if span.IsRecordingEvents() {
|
|
||||||
span.AddAttributes(
|
span.AddAttributes(
|
||||||
trace.BoolAttribute("blocks", opts.IncludeBlocks),
|
trace.BoolAttribute("blocks", opts.IncludeBlocks),
|
||||||
trace.BoolAttribute("messages", opts.IncludeMessages),
|
trace.BoolAttribute("messages", opts.IncludeMessages),
|
||||||
)
|
)
|
||||||
}
|
|
||||||
|
|
||||||
chain, err := bss.collectChainSegment(req.Start, req.RequestLength, opts)
|
chain, err := bss.collectChainSegment(req.Start, req.RequestLength, opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user