diff options
author | Janos Guljas <janos@resenje.org> | 2017-12-05 05:32:33 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2017-12-05 05:32:33 +0800 |
commit | 3732c15faa83e60024ef46b3def0c105c6912c47 (patch) | |
tree | a475974b02b994158981b58396200133022d4b59 /swarm | |
parent | a758b5cf7ac3111c053bc1275ca849f7aae080e1 (diff) | |
download | dexon-3732c15faa83e60024ef46b3def0c105c6912c47.tar.gz dexon-3732c15faa83e60024ef46b3def0c105c6912c47.tar.zst dexon-3732c15faa83e60024ef46b3def0c105c6912c47.zip |
swarm/api: remove unneeded blank assignement
Diffstat (limited to 'swarm')
-rw-r--r-- | swarm/api/api.go | 2 |
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 { |