fix: enable lightclient mode
This commit is contained in:
parent
eda2fcabc0
commit
bdded864f2
|
@ -80,7 +80,7 @@ proc getWakuV2LightClientEnabled*(self: Controller): bool =
|
||||||
return self.nodeConfigurationService.getV2LightMode()
|
return self.nodeConfigurationService.getV2LightMode()
|
||||||
|
|
||||||
proc setWakuV2LightClientEnabled*(self: Controller, enabled: bool) =
|
proc setWakuV2LightClientEnabled*(self: Controller, enabled: bool) =
|
||||||
if (self.nodeConfigurationService.setV2LightMode(enabled)):
|
if (not self.nodeConfigurationService.setV2LightMode(enabled)):
|
||||||
# in the future we may do a call from here to show a popup about this error
|
# in the future we may do a call from here to show a popup about this error
|
||||||
error "an error occurred, we couldn't set WakuV2 light client"
|
error "an error occurred, we couldn't set WakuV2 light client"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue