mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-17 08:00:51 +00:00
fix: typo in DHT setup (#151)
I think there was a typo that would have ignored passed options and fallback to defaults for DHT datastore.
This commit is contained in:
parent
97cde1ccb4
commit
61bebd10fc
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user