fix: Upgrade status-go to the most recent version of release branch which contains memory fix

Fix #4990
This commit is contained in:
Michal Iskierko
2024-05-13 12:21:03 +02:00
committed by Michał Iskierko
parent 03d490156a
commit 66cf3d21b9
230 changed files with 30930 additions and 14243 deletions

View File

@@ -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 {