fix: remove EnableMailserverCycle

This commit is contained in:
Richard Ramos 2022-03-09 15:26:56 -04:00 committed by Iuri Matias
parent c6b76f063d
commit 2fa620ad92
3 changed files with 0 additions and 6 deletions

View File

@ -138,7 +138,6 @@ var NODE_CONFIG* = %* {
} }
}, },
"ShhextConfig": { "ShhextConfig": {
"EnableMailserverCycle": true,
"BackupDisabledDataDir": "./", "BackupDisabledDataDir": "./",
"DataSyncEnabled": true, "DataSyncEnabled": true,
"InstallationID": "aef27732-8d86-5039-a32e-bdbe094d8791", "InstallationID": "aef27732-8d86-5039-a32e-bdbe094d8791",

View File

@ -311,9 +311,6 @@ proc login*(self: Service, account: AccountDto, password: string): string =
# While this is fixed, you can add here any missing attribute on the node config, and it will be merged with whatever # While this is fixed, you can add here any missing attribute on the node config, and it will be merged with whatever
# the account has in the db # the account has in the db
var nodeCfg = %* { var nodeCfg = %* {
"ShhextConfig": %* {
"EnableMailserverCycle": true
},
"Web3ProviderConfig": %* { "Web3ProviderConfig": %* {
"Enabled": true "Enabled": true
}, },

View File

@ -87,7 +87,6 @@ type
ShhextConfig* = object ShhextConfig* = object
PFSEnabled*: bool PFSEnabled*: bool
EnableMailserverCycle*: bool
BackupDisabledDataDir*: string BackupDisabledDataDir*: string
InstallationID*: string InstallationID*: string
MailServerConfirmations*: bool MailServerConfirmations*: bool
@ -332,7 +331,6 @@ proc toWakuConfig*(jsonObj: JsonNode): WakuConfig =
proc toShhextConfig*(jsonObj: JsonNode): ShhextConfig = proc toShhextConfig*(jsonObj: JsonNode): ShhextConfig =
discard jsonObj.getProp("PFSEnabled", result.PFSEnabled) discard jsonObj.getProp("PFSEnabled", result.PFSEnabled)
discard jsonObj.getProp("EnableMailserverCycle", result.EnableMailserverCycle)
discard jsonObj.getProp("BackupDisabledDataDir", result.BackupDisabledDataDir) discard jsonObj.getProp("BackupDisabledDataDir", result.BackupDisabledDataDir)
discard jsonObj.getProp("InstallationID", result.InstallationID) discard jsonObj.getProp("InstallationID", result.InstallationID)
discard jsonObj.getProp("MailServerConfirmations", result.MailServerConfirmations) discard jsonObj.getProp("MailServerConfirmations", result.MailServerConfirmations)