Merge pull request #6069

d64e5aa7 wallet: allow message sign/verify for subaddresses (moneromooo-monero)
This commit is contained in:
Alexander Blair 2020-02-06 00:29:32 -08:00
commit 3b224bb99d
No known key found for this signature in database
GPG key ID: C64552D877C32479
7 changed files with 67 additions and 19 deletions

View file

@ -1597,9 +1597,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;