diff --git a/howto/work-with-many-hypercores-using-corestore.md b/howto/work-with-many-hypercores-using-corestore.md index ee0476c..288b5f3 100644 --- a/howto/work-with-many-hypercores-using-corestore.md +++ b/howto/work-with-many-hypercores-using-corestore.md @@ -102,7 +102,6 @@ await core.ready() const foundPeers = core.findingPeers() swarm.join(core.discoveryKey) -swarm.on('connection', conn => core.replicate(conn)) swarm.flush().then(() => foundPeers()) // update the meta-data of the hypercore instance