Skip to content

Commit 61bebd1

Browse files
Gozaladaviddias
authored andcommitted
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.
1 parent 97cde1c commit 61bebd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Node extends EventEmitter {
8383
if (_modules.DHT) {
8484
this._dht = new this.modules.DHT(this.swarm, {
8585
kBucketSize: 20,
86-
datastoer: _options.DHT && _options.DHT.datastore
86+
datastore: _options.DHT && _options.DHT.datastore
8787
})
8888
}
8989

0 commit comments

Comments
 (0)