fix(c-bindings): rln credential path key (#2564)

This commit is contained in:
richΛrd 2024-04-04 02:41:14 -04:00 committed by GitHub
parent a76c958766
commit 3d752b11b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ proc parseRLNRelay(jsonNode: JsonNode, conf: var WakuNodeConf, errorResp: var st
return false return false
conf.rlnRelay = jsonNode["enabled"].getBool() conf.rlnRelay = jsonNode["enabled"].getBool()
conf.rlnRelayCredPath = jsonNode{"cred-password"}.getStr() conf.rlnRelayCredPath = jsonNode{"cred-path"}.getStr()
conf.rlnRelayEthClientAddress = EthRpcUrl.parseCmdArg(jsonNode{"eth-client-address"}.getStr("http://localhost:8540")) conf.rlnRelayEthClientAddress = EthRpcUrl.parseCmdArg(jsonNode{"eth-client-address"}.getStr("http://localhost:8540"))
conf.rlnRelayEthContractAddress = jsonNode{"eth-contract-address"}.getStr() conf.rlnRelayEthContractAddress = jsonNode{"eth-contract-address"}.getStr()
conf.rlnRelayCredPassword = jsonNode{"cred-password"}.getStr() conf.rlnRelayCredPassword = jsonNode{"cred-password"}.getStr()