fix: buying ens from sepolia

This commit is contained in:
Anthony Laibe 2024-03-07 12:36:22 +01:00
parent 941d53a3f3
commit 477283e960
1 changed files with 1 additions and 3 deletions

View File

@ -135,7 +135,7 @@ func (s SendType) isAvailableFor(network *params.Network) bool {
return true return true
} }
if network.ChainID == 1 || network.ChainID == 5 { if network.ChainID == 1 || network.ChainID == 5 || network.ChainID == 11155111 {
return true return true
} }
@ -574,7 +574,6 @@ func (r *Router) suggestedRoutes(
if err != nil { if err != nil {
return nil, err return nil, err
} }
var ( var (
group = async.NewAtomicGroup(ctx) group = async.NewAtomicGroup(ctx)
mu sync.Mutex mu sync.Mutex
@ -660,7 +659,6 @@ func (r *Router) suggestedRoutes(
if len(preferedChainIDs) > 0 && !containsNetworkChainID(dest, preferedChainIDs) { if len(preferedChainIDs) > 0 && !containsNetworkChainID(dest, preferedChainIDs) {
continue continue
} }
if containsNetworkChainID(dest, disabledToChaindIDs) { if containsNetworkChainID(dest, disabledToChaindIDs) {
continue continue
} }