IOTA-MAM.lib.js-PoC icon indicating copy to clipboard operation
IOTA-MAM.lib.js-PoC copied to clipboard

changed testnet and added fix for when no previous messages

Open jcranney opened this issue 7 years ago • 1 comments

I was getting an error when there were no previous messages found. Hard to say if this was because there were no previous messages or because the messages weren't being scanned/found.

jcranney avatar May 12 '18 04:05 jcranney

Still getting this warning within Mam.attach(message.payload, message.address)

The first root:
ZMYUUZSLALHDLXXQGAKZSZNIDWXJEHYDIWBVRJFCOYDTXSDXMFQBODQGWLU9YEDHOIKOREDYHPXHMBAPI

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value',
/checkout/src/libcore/option.rs:335:20
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to parse:  5276648
Messages already in the stream:

Sending message:  1526098494802 visit iota.wtf - IOTA MAM client proof of concept
Root:  ZMYUUZSLALHDLXXQGAKZSZNIDWXJEHYDIWBVRJFCOYDTXSDXMFQBODQGWLU9YEDHOIKOREDYHPXHMBAPI
Address:  ZMYUUZSLALHDLXXQGAKZSZNIDWXJEHYDIWBVRJFCOYDTXSDXMFQBODQGWLU9YEDHOIKOREDYHPXHMBAPI

Any ideas what I'm doing wrong?

jcranney avatar May 12 '18 04:05 jcranney