From e853aa1482b6e047ff70249c2e0c20ca70844b2a Mon Sep 17 00:00:00 2001 From: kevincatty Date: Sat, 4 May 2024 17:47:49 +0800 Subject: [PATCH] chore: fix function name Signed-off-by: kevincatty --- rpc/getTransaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {