Skip to content

Commit

Permalink
tweak: Log when sending blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Oct 6, 2023
1 parent 9dd1cb5 commit c639cf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth/filters/trace_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func (api *FilterAPI) NewFullBlocksWithTrace(ctx context.Context, tracerOptsJSON
log.Error("block_stream: failed to notify", "err", err)
return
}
log.Info("block_stream: sent block", "hash", hash, "number", block.Number(), "sub_id", rpcSub.ID)
metricsBlocksSent.Inc()
}
}
Expand Down

0 comments on commit c639cf8

Please sign in to comment.