diff --git a/nevmes-core/src/monero.rs b/nevmes-core/src/monero.rs index 424fd08..50af711 100644 --- a/nevmes-core/src/monero.rs +++ b/nevmes-core/src/monero.rs @@ -405,7 +405,7 @@ pub async fn get_address() -> reqres::XmrRpcAddressResponse { let client = reqwest::Client::new(); let host = get_rpc_host(); let params: reqres::XmrRpcAddressParams = reqres::XmrRpcAddressParams { - account_index: 0, address_index: vec![0], + account_index: 0, }; let req = reqres::XmrRpcAddressRequest { jsonrpc: RpcFields::JsonRpcVersion.value(), diff --git a/nevmes-core/src/reqres.rs b/nevmes-core/src/reqres.rs index a80bb1c..01c0c77 100644 --- a/nevmes-core/src/reqres.rs +++ b/nevmes-core/src/reqres.rs @@ -63,7 +63,6 @@ pub struct XmrRpcBalanceParams { #[derive(Deserialize, Serialize, Debug)] pub struct XmrRpcAddressParams { pub account_index: u8, - pub address_index: Vec, } #[derive(Deserialize, Serialize, Debug)]