fix: bail when discovering self (#357)

This commit is contained in:
Jacob Heun
2019-04-16 12:05:22 +02:00
committed by GitHub
parent c049074cb5
commit f28dffb268
3 changed files with 36 additions and 2 deletions

View File

@ -7,5 +7,7 @@ exports.messages = {
exports.codes = {
DHT_DISABLED: 'ERR_DHT_DISABLED',
PUBSUB_NOT_STARTED: 'ERR_PUBSUB_NOT_STARTED'
PUBSUB_NOT_STARTED: 'ERR_PUBSUB_NOT_STARTED',
ERR_NODE_NOT_STARTED: 'ERR_NODE_NOT_STARTED',
ERR_DISCOVERED_SELF: 'ERR_DISCOVERED_SELF'
}