Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rpc/getTransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (dt *TransactionResultEnvelope) GetData() solana.Data {
return dt.asDecodedBinary
}

// GetRawJSON returns a *solana.Transaction when the data
// GetTransaction returns a *solana.Transaction when the data
// encoding is EncodingJSON.
func (dt *TransactionResultEnvelope) GetTransaction() (*solana.Transaction, error) {
if dt.asDecodedBinary.Content != nil {
Expand Down
2 changes: 1 addition & 1 deletion rpc/ws/programSubscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (cl *Client) ProgramSubscribe(
)
}

// ProgramSubscribe subscribes to a program to receive notifications
// ProgramSubscribeWithOpts subscribes to a program to receive notifications
// when the lamports or data for a given account owned by the program changes.
func (cl *Client) ProgramSubscribeWithOpts(
programID solana.PublicKey,
Expand Down