Rename daemon_url parameter in monero config to node_url
This commit is contained in:
parent
1ac3b2e1f4
commit
ed9b724895
3 changed files with 4 additions and 3 deletions
|
@ -28,7 +28,7 @@ blockchains:
|
|||
chain_reorg_max_depth: 0
|
||||
# # Parameters for local Monero node
|
||||
# - chain_id: monero:regtest
|
||||
# daemon_url: 'http://127.0.0.1:58081'
|
||||
# node_url: 'http://127.0.0.1:58081'
|
||||
# wallet_url: 'http://127.0.0.1:58083'
|
||||
# wallet_name: test
|
||||
# wallet_password: test
|
||||
|
|
|
@ -46,7 +46,7 @@ registrations_open: false
|
|||
# chain_sync_step: 1000
|
||||
# chain_reorg_max_depth: 10
|
||||
# - chain_id: monero:mainnet
|
||||
# daemon_url: 'http://opennode.xmr-tw.org:18089'
|
||||
# node_url: 'http://opennode.xmr-tw.org:18089'
|
||||
# wallet_url: 'http://127.0.0.1:18083'
|
||||
# wallet_name: mitra
|
||||
# wallet_password: mitra
|
||||
|
|
|
@ -53,7 +53,8 @@ impl EthereumConfig {
|
|||
#[derive(Clone, Deserialize)]
|
||||
pub struct MoneroConfig {
|
||||
pub chain_id: ChainId,
|
||||
pub daemon_url: String,
|
||||
#[serde(alias = "daemon_url")]
|
||||
pub node_url: String,
|
||||
pub wallet_url: String,
|
||||
pub wallet_name: String,
|
||||
pub wallet_password: Option<String>,
|
||||
|
|
Loading…
Reference in a new issue