Skip to content

Commit

Permalink
refactor(experimental): type reconciliation: GetClusterNodesApi
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Jul 2, 2024
1 parent f7f4252 commit 52c7d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rpc-api/src/getClusterNodes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Address } from '@solana/addresses';
import type { RpcApiMethods } from '@solana/rpc-spec';

type GetClusterNodesNode = Readonly<{
type ClusterNode = Readonly<{
/** The unique identifier of the node's feature set */
featureSet: number | null;
/** Gossip network address for the node */
Expand All @@ -24,7 +24,7 @@ type GetClusterNodesNode = Readonly<{
version: string | null;
}>;

type GetClusterNodesApiResponse = readonly GetClusterNodesNode[];
type GetClusterNodesApiResponse = readonly ClusterNode[];

export interface GetClusterNodesApi extends RpcApiMethods {
/**
Expand Down

0 comments on commit 52c7d7d

Please sign in to comment.