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
10
vendor/github.com/status-im/status-go/eth-node/types/waku.go
generated
vendored
10
vendor/github.com/status-im/status-go/eth-node/types/waku.go
generated
vendored
@@ -54,6 +54,16 @@ func (u *ConnStatusSubscription) Unsubscribe() {
|
||||
u.active = false
|
||||
}
|
||||
|
||||
func (u *ConnStatusSubscription) Send(s ConnStatus) bool {
|
||||
u.RLock()
|
||||
defer u.RUnlock()
|
||||
if !u.active {
|
||||
return false
|
||||
}
|
||||
u.C <- s
|
||||
return true
|
||||
}
|
||||
|
||||
type WakuKeyManager interface {
|
||||
// GetPrivateKey retrieves the private key of the specified identity.
|
||||
GetPrivateKey(id string) (*ecdsa.PrivateKey, error)
|
||||
|
||||
Reference in New Issue
Block a user