mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
swarm/api: remove unneeded blank assignement
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user