diff --git a/README.md b/README.md index fa25157..498f9b0 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,6 @@ const cores = [ new Hypercore('./core2'), ] -await Promise.all(cores.map(c => c.ready())) - const indexer = new MultiCoreIndex(cores, { storage: createStorage, batch }) ``` @@ -75,7 +73,7 @@ Type: `Array` An array of [Hypercores](https://github.com/hypercore-protocol/hypercore-next) to index. All Hypercores must share the same value encoding (`binary`, `utf-8` -or `json`). All Hypercores must have a `key` property that is populated, either by waiting for all of them to be ready or by instantiating them with the `key` opt. +or `json`). ### opts