diff --git a/rpc/getTransaction.go b/rpc/getTransaction.go index 85d0f64ad..9f5cb8ff6 100644 --- a/rpc/getTransaction.go +++ b/rpc/getTransaction.go @@ -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 {