arloader icon indicating copy to clipboard operation
arloader copied to clipboard

get-status JSON output panics

Open dmichael opened this issue 3 years ago • 2 comments

  • 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

dmichael avatar Jun 16 '22 12:06 dmichael

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

CalebEverett avatar Jun 16 '22 12:06 CalebEverett

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

dmichael avatar Jun 16 '22 13:06 dmichael