good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3732c15f authored by Janos Guljas's avatar Janos Guljas
Browse files

swarm/api: remove unneeded blank assignement

parent a758b5cf
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ func NewMultiResolver(opts ...MultiResolverOption) (m *MultiResolver) { ...@@ -82,7 +82,7 @@ func NewMultiResolver(opts ...MultiResolverOption) (m *MultiResolver) {
// the Hash from the the first one which does not return error // the Hash from the the first one which does not return error
// will be returned. // will be returned.
func (m MultiResolver) Resolve(addr string) (h common.Hash, err error) { func (m MultiResolver) Resolve(addr string) (h common.Hash, err error) {
rs, _ := m.resolvers[""] rs := m.resolvers[""]
if i := strings.LastIndex(addr, "."); i >= 0 { if i := strings.LastIndex(addr, "."); i >= 0 {
rstld, ok := m.resolvers[addr[i+1:]] rstld, ok := m.resolvers[addr[i+1:]]
if ok { if ok {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment