mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-23 03:59:24 +00:00
remove address_index from get_address request
This commit is contained in:
parent
f821c4b572
commit
27993e5a64
2 changed files with 1 additions and 2 deletions
|
@ -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(),
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue