diff --git a/src/Client.js b/src/Client.js index 28ab68c..93cc7b0 100644 --- a/src/Client.js +++ b/src/Client.js @@ -61,12 +61,12 @@ class Client { } _onLoad(channel, hash) { - console.log("Loading #" + channel, hash) + // console.log("Loading #" + channel, hash) this.events.emit('load', channel, hash); } _onLoaded(channel, hash) { - console.log("Finished loading #" + channel, hash) + // console.log("Finished loading #" + channel, hash) this.events.emit('loaded', channel, hash); } diff --git a/src/OrbitDB.js b/src/OrbitDB.js index e50fe28..8b31a7f 100644 --- a/src/OrbitDB.js +++ b/src/OrbitDB.js @@ -110,7 +110,7 @@ class OrbitDB { return null; }; - // Find an items from the sequence (list of operations) + // Find the items from the sequence (list of operations) return sequence .map((f) => await(OrbitDB.fetchPayload(this._ipfs, f.payload))) // IO - fetch the actual OP from ipfs. consider merging with LL. .skipWhile((f) => key && f.key !== key) // Drop elements until we have the first one requested