Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit de5a9fb

Browse files
authored
fix: typo get many option (#63)
1 parent 56c65e0 commit de5a9fb

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
@@ -243,7 +243,7 @@ class KadDHT {
243243
}
244244

245245
if (!options.maxTimeout && !options.timeout) {
246-
options.timeout = 'c.minute' // default
246+
options.timeout = c.minute // default
247247
} else if (options.maxTimeout && !options.timeout) { // TODO this will be deprecated in a next release
248248
options.timeout = options.maxTimeout
249249
}

0 commit comments

Comments
 (0)