swarm: Add warning for disabled resource handler when no ensapi

This commit is contained in:
lash 2018-04-24 11:59:50 +02:00
parent d915c89d2e
commit 29faab5243

View file

@ -196,6 +196,8 @@ func NewSwarm(ctx *node.ServiceContext, backend chequebook.Backend, config *api.
return nil, err
}
resourceHandler.SetStore(self.lstore)
} else {
log.Warn("No ENS API specified, resource updates will be disabled")
}
var validators []storage.ChunkValidator