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:
Irakli Gozalishvili 2018-01-16 05:58:12 -08:00 committed by David Dias
parent 97cde1ccb4
commit 61bebd10fc

View File

@ -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
})
}