services/omnirpc/client/client.go
Method rpcClient.GetChainIDs
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *rpcClient) GetChainIDs(ctx context.Context) (chainIDs []int, err error) {
req, err := http.NewRequestWithContext(ctx, http.MethodGet, fmt.Sprintf("%s/chain-ids", c.endpoint), nil)
if err != nil {
return nil, fmt.Errorf("could not create request: %w", err)
}