When trying to use none MAM addresses as root the library sometimes throws an error Invalid addresses input or something like that. That is ok and the expected behavior. But sometimes a "thread panic" is produced and I guess that should not happen.
Connected to: https://field.carriota.com:443
Fetching MAM at root: YQHVRO9JODMBLKO9AZJLZDAWGNODOCF9UFUTXXO9JSLYPKOKVZHADMIILBRP9RTETQ9QRIFZACTBBIUPD
thread '<unnamed>' panicked at 'index 3 out of range for slice of length 0', /checkout/src/libcore/slice/mod.rs:746:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to parse: 5275984
When trying to use none MAM addresses as root the library sometimes throws an error
Invalid addresses input
or something like that. That is ok and the expected behavior. But sometimes a "thread panic" is produced and I guess that should not happen.Here is an example with such an address:
Running the code I get the following output:
I tried it on macOS 10.13.13, node v9.6.1.