status-go/protocol/messenger_settings.go

11 lines
263 B
Go
Raw Normal View History

2023-11-27 11:08:17 +00:00
package protocol
import (
"github.com/status-im/status-go/nodecfg"
"github.com/status-im/status-go/protocol/requests"
)
func (m *Messenger) SetLightClient(request *requests.SetLightClient) error {
return nodecfg.SetLightClient(m.database, request.Enabled)
}