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

get-status JSON output panics #31

Open
dmichael opened this issue Jun 16, 2022 · 2 comments
Open

get-status JSON output panics #31

dmichael opened this issue Jun 16, 2022 · 2 comments

Comments

@dmichael
Copy link

  • Installed through cargo on macOS.
  • Attempting to get status of a tx with JSON output panics
  • This tx is pending at the time
arloader get-status Y-sqEXggvUCoGaeYJfpGKg7LLNCORBiAGBKyG5aYIhM --output json
thread 'main' panicked at 'byte index 32 is out of bounds of ``', library/core/src/str/mod.rs:107:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@CalebEverett
Copy link
Owner

I'll check this, sorry about the panic. Can you try moving the output flag to right after arloader?

@dmichael
Copy link
Author

I'll check this, sorry about the panic. Can you try moving the output flag to right after arloader?

Same

arloader --output json get-status uPXb9i3CcCXBrWI6m_2nDfw9Vkl1F5syOeuXzKCLT68
thread 'main' panicked at 'byte index 32 is out of bounds of ``', library/core/src/str/mod.rs:107:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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

2 participants