Skip to content

fix(rpc): support EncodingJSON in GetBlockWithOpts#419

Open
tanmay4l wants to merge 2 commits into
solana-foundation:mainfrom
tanmay4l:blockjson
Open

fix(rpc): support EncodingJSON in GetBlockWithOpts#419
tanmay4l wants to merge 2 commits into
solana-foundation:mainfrom
tanmay4l:blockjson

Conversation

@tanmay4l
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@sonicfromnewyoke sonicfromnewyoke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, also fixes possible nil deref

Comment thread rpc/types.go
}

func (twm TransactionWithMeta) GetTransaction() (*solana.Transaction, error) {
if twm.Transaction == nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants