diff --git a/lib/replicator.js b/lib/replicator.js index d7e8b8c2..c7e0f159 100644 --- a/lib/replicator.js +++ b/lib/replicator.js @@ -19,7 +19,7 @@ - Which blocks does the Peer have available (tracked in remoteBitfield) - Which blocks are you actively looking for from this peer (tracked in missingBlocks) - How many blocks are currently inflight (tracked in inflight) - The Peer uses this information to decide which blocks to request form the peer in response to _requestRange requests and the like. + The Peer uses this information to decide which blocks to request from the peer in response to _requestRange requests and the like. */ const b4a = require('b4a') @@ -1416,7 +1416,7 @@ module.exports = class Replicator { this.oninvalid = oninvalid this.ondownloading = null // optional external hook for monitoring downloading status this.peers = [] - this.findingPeers = 0 // updateable from the outside + this.findingPeers = 0 // updatable from the outside this.destroyed = false this.downloading = false this.activeSessions = 0