Skip to content

Commit

Permalink
fix: typo in DHT setup (#151)
Browse files Browse the repository at this point in the history
I think there was a typo that would have ignored passed options and fallback to defaults for DHT datastore.
  • Loading branch information
Gozala authored and daviddias committed Jan 16, 2018
1 parent 97cde1c commit 61bebd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Node extends EventEmitter {
if (_modules.DHT) {
this._dht = new this.modules.DHT(this.swarm, {
kBucketSize: 20,
datastoer: _options.DHT && _options.DHT.datastore
datastore: _options.DHT && _options.DHT.datastore
})
}

Expand Down

0 comments on commit 61bebd1

Please sign in to comment.