Looks like still having issues with damus. But I got damus running through xcode emulator (impressed how easy it was) so should be able to debug better. Thanks for the zaps by the way

Reply to this note

Please Login to reply.

Discussion

look for get_zap_description(). there is the sha256 description hash check

Ah so what it is is the ln invoice description hash is the zap request without escape chars. But in the zap note description there are escape chars.

nope not that

tried your latest version but it has no permissions to write. but where does it want to write so I can fix it?

Yeah I was a little worried that may be an issue. It's the data directory $HOME/.local/share

https://docs.rs/dirs/4.0.0/dirs/fn.data_dir.html

which is /.local/share… here. I think the $HOME part is not working. I’m on freebsd. also created the file in that place and it seems not to write to it. but at least the permission errors are gone

Not sure about freebsd. I'm adding an option so you can set the path in the config

my last last_pay_index file isn’t changing, even after a successful zap. also can’t see it increasing anywhere in the code