Closed Nuhvi closed 2 years ago
I think the issue here is that sessions
are used for replication with different options, but they aren't really returned to the user through store.get()
and they kinda can't without converting store.get()
to an async function to do await core.ready(); return core.session(opts)
I found the issue and will open a PR in Hypercore in a minute
I don't know how to fix this, but this unit test will fail even with
hypercore@10.0.0-alpha40