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": {
"EnableMailserverCycle": true,
"BackupDisabledDataDir": "./",
"DataSyncEnabled": true,
"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
# the account has in the db
var nodeCfg = %* {
"ShhextConfig": %* {
"EnableMailserverCycle": true
},
"Web3ProviderConfig": %* {
"Enabled": true
},

View File

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