Decoding of UtxoId with multibyte characters can panic #521
Labels
bug
Something isn't working
fuel-tx
Related to the `fuel-tx` crate.
good first issue
Good for newcomers
The following query panics:
This is caused by careless use of string indexing here:
fuel-vm/fuel-tx/src/transaction/types/utxo_id.rs
Lines 104 to 118 in 651351f
We should probably use
#[deny(clippy::string_slice)]
to avoid these issues in the future.The text was updated successfully, but these errors were encountered: