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

Failed bundle status #9

Open
Smotrov opened this issue Oct 15, 2024 · 0 comments
Open

Failed bundle status #9

Smotrov opened this issue Oct 15, 2024 · 0 comments

Comments

@Smotrov
Copy link

Smotrov commented Oct 15, 2024

Why Failed bundle status is not matched in the example?

 match status.as_str() {
     Some("Landed") => {
         println!("Bundle landed on-chain. Checking final status...");
         return check_final_bundle_status(&jito_sdk, bundle_uuid).await;
     },
     Some("Pending") => {
         println!("Bundle is pending. Waiting...");
     },
     Some(status) => {
         println!("Unexpected bundle status: {}. Waiting...", status);
     },
     None => {
         println!("Unable to parse bundle status. Waiting...");
     }
 }

Is there any practical reason that it will keep looping if Failed status is returned?

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