fix: Upgrade status-go to the most recent version of release branch which contains memory fix
Fix #4990
This commit is contained in:
committed by
Michał Iskierko
parent
03d490156a
commit
66cf3d21b9
6
vendor/github.com/status-im/status-go/rpc/network/network.go
generated
vendored
6
vendor/github.com/status-im/status-go/rpc/network/network.go
generated
vendored
@@ -231,7 +231,7 @@ func (nm *Manager) GetAll() ([]*params.Network, error) {
|
||||
}
|
||||
|
||||
func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error) {
|
||||
isSepoliaEnabled, err := nm.accountsDB.GetIsSepoliaEnabled()
|
||||
isGoerliEnabled, err := nm.accountsDB.GetIsGoerliEnabled()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -248,7 +248,7 @@ func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error) {
|
||||
|
||||
var results []*params.Network
|
||||
for _, network := range networks {
|
||||
if !isSepoliaEnabled {
|
||||
if isGoerliEnabled {
|
||||
found := false
|
||||
for _, chainID := range SepoliaChainIDs {
|
||||
if network.ChainID == chainID {
|
||||
@@ -261,7 +261,7 @@ func (nm *Manager) Get(onlyEnabled bool) ([]*params.Network, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if isSepoliaEnabled {
|
||||
if !isGoerliEnabled {
|
||||
found := false
|
||||
|
||||
for _, chainID := range GoerliChainIDs {
|
||||
|
||||
Reference in New Issue
Block a user