remove address_index from get_address request

This commit is contained in:
creating2morrow 2023-05-06 04:58:46 -04:00
parent f821c4b572
commit 27993e5a64
2 changed files with 1 additions and 2 deletions

View file

@ -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(),

View file

@ -63,7 +63,6 @@ pub struct XmrRpcBalanceParams {
#[derive(Deserialize, Serialize, Debug)]
pub struct XmrRpcAddressParams {
pub account_index: u8,
pub address_index: Vec<u8>,
}
#[derive(Deserialize, Serialize, Debug)]