wallet: allow message sign/verify for subaddresses

This commit is contained in:
moneromooo-monero 2019-10-31 14:09:19 +00:00
parent 4c9fd8d86d
commit d64e5aa719
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
7 changed files with 67 additions and 19 deletions

View file

@ -1591,9 +1591,13 @@ namespace wallet_rpc
struct request_t
{
std::string data;
uint32_t account_index;
uint32_t address_index;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(data);
KV_SERIALIZE(data)
KV_SERIALIZE_OPT(account_index, 0u)
KV_SERIALIZE_OPT(address_index, 0u)
END_KV_SERIALIZE_MAP()
};
typedef epee::misc_utils::struct_init<request_t> request;