mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
remove-redundant-replicate-corestore (#171)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user