aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-01-30 19:55:39 +0900
committerstoffu <stoffu@protonmail.ch>2018-01-31 17:53:02 +0900
commita99ef176952defea20f4c9456bc489f46c7ea830 (patch)
tree79f17b6a844c8ac2bce26fa4d32ae10ac7ec2b9a /src/wallet/wallet_rpc_server_commands_defs.h
parentwallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS (diff)
downloadmonero-a99ef176952defea20f4c9456bc489f46c7ea830.tar.xz
wallet-rpc: take subaddress account as arg for get_transfer_by_txid
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index e9f112b63..82b6b78f9 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -1291,9 +1291,11 @@ namespace wallet_rpc
struct request
{
std::string txid;
+ uint32_t account_index;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(txid);
+ KV_SERIALIZE_OPT(account_index, (uint32_t)0)
END_KV_SERIALIZE_MAP()
};