Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Conversion between SubscribeAccountUpdate and AccountInfo #49

Open
Nagaprasadvr opened this issue Dec 2, 2024 · 0 comments
Open

Comments

@Nagaprasadvr
Copy link
Collaborator

Nagaprasadvr commented Dec 2, 2024

Problem

async fn parse(&self, acct: &AccountUpdate) -> ParseResult<Self::Output>

Currently parse fn takes a SubscribeAccountUpdate as input but solana uses AccountInfo

Goal

impl From or TryFrom traits for SubscribeAccountUpdate so we can convert AccountInfo to SubscribeAccountUpdate

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

No branches or pull requests

1 participant