Skip to content

Commit

Permalink
Make unpublished endpoints private
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Aug 19, 2024
1 parent a7ce895 commit ac5d325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/stellarcore/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ func (c *Client) GetLedgerEntries(ctx context.Context, ledgerSeq uint32, keys ..
return resp, c.makeLedgerKeyRequest(ctx, resp, "getledgerentries", ledgerSeq, keys...)
}

func (c *Client) GetInvocationProof(ctx context.Context, ledgerSeq uint32, keys ...xdr.LedgerKey) (*proto.ProofResponse, error) {
func (c *Client) getInvocationProof(ctx context.Context, ledgerSeq uint32, keys ...xdr.LedgerKey) (*proto.ProofResponse, error) {

Check failure on line 160 in clients/stellarcore/client.go

View workflow job for this annotation

GitHub Actions / check (ubuntu-22.04, 1.22.1)

func (*Client).getInvocationProof is unused (U1000)
var resp *proto.ProofResponse
return resp, c.makeLedgerKeyRequest(ctx, resp, "getinvocationproof", ledgerSeq, keys...)
}

func (c *Client) GetRestorationProof(ctx context.Context, ledgerSeq uint32, keys ...xdr.LedgerKey) (*proto.ProofResponse, error) {
func (c *Client) getRestorationProof(ctx context.Context, ledgerSeq uint32, keys ...xdr.LedgerKey) (*proto.ProofResponse, error) {

Check failure on line 165 in clients/stellarcore/client.go

View workflow job for this annotation

GitHub Actions / check (ubuntu-22.04, 1.22.1)

func (*Client).getRestorationProof is unused (U1000)
var resp *proto.ProofResponse
return resp, c.makeLedgerKeyRequest(ctx, resp, "getrestorationproof", ledgerSeq, keys...)
}
Expand Down

0 comments on commit ac5d325

Please sign in to comment.