Skip to content

Commit

Permalink
Fix option name eagerUpdate -> eagerUpgrade (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuKks authored Jun 29, 2023
1 parent 6ed175e commit 2ee5df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ module.exports = class Hypercore extends EventEmitter {
this.id = z32.encode(this.key)

this.replicator = new Replicator(this.core, this.key, {
eagerUpdate: true,
eagerUpgrade: true,
allowFork: opts.allowFork !== false,
onpeerupdate: this._onpeerupdate.bind(this),
onupload: this._onupload.bind(this)
Expand Down

0 comments on commit 2ee5df0

Please sign in to comment.