Closed jimpick closed 6 years ago
Confirmed bug. Added the test case here, https://github.com/mafintosh/hyperdb/commit/dc5107ff7d4b7551a38afc5f36409617d6b7bf82 and a fix in the following commit, https://github.com/mafintosh/hyperdb/commit/ef4400ca9c3fc97e6606bb647dde85630ec8fcbc
I encountered a problem using replicate() in a test.
Output:
It appears the first .replicate to peer b will work, but the second .replicate to peer c exits the test without calling the callback.
If I authorize peer c before calling .replicate, then it will work as expected.