aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-31 14:09:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-31 08:44:36 +0000
commitd64e5aa71936d86f91d3f45a9da0468f97078409 (patch)
tree1376f2390b9c971f95b9e188d38f899af6a6e84f /src/wallet/wallet_rpc_server_commands_defs.h
parentMerge pull request #6044 (diff)
downloadmonero-d64e5aa71936d86f91d3f45a9da0468f97078409.tar.xz
wallet: allow message sign/verify for subaddresses
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 0c86f404d..c823417eb 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -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;