mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
swarm: Add warning for disabled resource handler when no ensapi
This commit is contained in:
parent
d915c89d2e
commit
29faab5243
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ func NewSwarm(ctx *node.ServiceContext, backend chequebook.Backend, config *api.
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
resourceHandler.SetStore(self.lstore)
|
resourceHandler.SetStore(self.lstore)
|
||||||
|
} else {
|
||||||
|
log.Warn("No ENS API specified, resource updates will be disabled")
|
||||||
}
|
}
|
||||||
|
|
||||||
var validators []storage.ChunkValidator
|
var validators []storage.ChunkValidator
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue