aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/api/api.go')
-rw-r--r--swarm/api/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/api.go b/swarm/api/api.go
index d6e9d3732..8bd386643 100644
--- a/swarm/api/api.go
+++ b/swarm/api/api.go
@@ -82,7 +82,7 @@ func NewMultiResolver(opts ...MultiResolverOption) (m *MultiResolver) {
// the Hash from the the first one which does not return error
// will be returned.
func (m MultiResolver) Resolve(addr string) (h common.Hash, err error) {
- rs, _ := m.resolvers[""]
+ rs := m.resolvers[""]
if i := strings.LastIndex(addr, "."); i >= 0 {
rstld, ok := m.resolvers[addr[i+1:]]
if ok {