Skip to content

Commit

Permalink
GetSlot is no more returning a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Dec 9, 2020
1 parent e0f5cba commit 4e3f16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (c *Client) GetRecentBlockhash(ctx context.Context, commitment CommitmentTy
return
}

func (c *Client) GetSlot(ctx context.Context, commitment CommitmentType) (out *GetSlotResult, err error) {
func (c *Client) GetSlot(ctx context.Context, commitment CommitmentType) (out GetSlotResult, err error) {
var params []interface{}
if commitment != "" {
params = append(params, string(commitment))
Expand Down

0 comments on commit 4e3f16d

Please sign in to comment.