aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api
diff options
context:
space:
mode:
authorJanos Guljas <janos@resenje.org>2017-12-05 05:32:33 +0800
committerJanos Guljas <janos@resenje.org>2017-12-05 05:32:33 +0800
commit3732c15faa83e60024ef46b3def0c105c6912c47 (patch)
treea475974b02b994158981b58396200133022d4b59 /swarm/api
parenta758b5cf7ac3111c053bc1275ca849f7aae080e1 (diff)
downloaddexon-3732c15faa83e60024ef46b3def0c105c6912c47.tar.gz
dexon-3732c15faa83e60024ef46b3def0c105c6912c47.tar.zst
dexon-3732c15faa83e60024ef46b3def0c105c6912c47.zip
swarm/api: remove unneeded blank assignement
Diffstat (limited to 'swarm/api')
-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 {