mirror of
https://github.com/monero-project/monero.git
synced 2025-08-08 11:02:29 -04:00
wallet: do not split integrated addresses in address book api
This commit is contained in:
parent
59e7d5686b
commit
dd8c6b1703
8 changed files with 78 additions and 223 deletions
|
@ -1829,12 +1829,10 @@ namespace wallet_rpc
|
|||
struct request_t
|
||||
{
|
||||
std::string address;
|
||||
std::string payment_id;
|
||||
std::string description;
|
||||
|
||||
BEGIN_KV_SERIALIZE_MAP()
|
||||
KV_SERIALIZE(address)
|
||||
KV_SERIALIZE(payment_id)
|
||||
KV_SERIALIZE(description)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
|
@ -1858,8 +1856,6 @@ namespace wallet_rpc
|
|||
uint64_t index;
|
||||
bool set_address;
|
||||
std::string address;
|
||||
bool set_payment_id;
|
||||
std::string payment_id;
|
||||
bool set_description;
|
||||
std::string description;
|
||||
|
||||
|
@ -1867,8 +1863,6 @@ namespace wallet_rpc
|
|||
KV_SERIALIZE(index)
|
||||
KV_SERIALIZE(set_address)
|
||||
KV_SERIALIZE(address)
|
||||
KV_SERIALIZE(set_payment_id)
|
||||
KV_SERIALIZE(payment_id)
|
||||
KV_SERIALIZE(set_description)
|
||||
KV_SERIALIZE(description)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
|
@ -1899,13 +1893,11 @@ namespace wallet_rpc
|
|||
{
|
||||
uint64_t index;
|
||||
std::string address;
|
||||
std::string payment_id;
|
||||
std::string description;
|
||||
|
||||
BEGIN_KV_SERIALIZE_MAP()
|
||||
KV_SERIALIZE(index)
|
||||
KV_SERIALIZE(address)
|
||||
KV_SERIALIZE(payment_id)
|
||||
KV_SERIALIZE(description)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue