mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
cleanup comments
This commit is contained in:
parent
7b7ab1da54
commit
8254381bfd
2 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ type handler struct {
|
|||
allowSubscribe bool
|
||||
batchRequestLimit int
|
||||
batchResponseMaxSize int
|
||||
tracer trace.Tracer // for RPC call tracing
|
||||
tracer trace.Tracer
|
||||
|
||||
subLock sync.Mutex
|
||||
serverSubs map[ID]*Subscription
|
||||
|
|
@ -79,7 +79,7 @@ type handler struct {
|
|||
type callProc struct {
|
||||
ctx context.Context
|
||||
notifiers []*Notifier
|
||||
isBatch bool // true if this call is part of a batch request
|
||||
isBatch bool
|
||||
}
|
||||
|
||||
func newHandler(connCtx context.Context, conn jsonWriter, idgen func() ID, reg *serviceRegistry, batchRequestLimit, batchResponseMaxSize int, tracer trace.Tracer) *handler {
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ func TestTracingBatchHTTP(t *testing.T) {
|
|||
t.Fatalf("batch RPC call failed: %v", err)
|
||||
}
|
||||
|
||||
// Flush and verify we emitted at least one rpc.call span with batch=true.
|
||||
// Flush and verify we emitted the rpc.call spans with batch=true.
|
||||
if err := tracer.ForceFlush(context.Background()); err != nil {
|
||||
t.Fatalf("failed to flush: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue