aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-25 16:28:48 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-02 10:15:27 +0100
commitc97d1bd3d49781afc943f236c9a02dc3c4eb7709 (patch)
tree15717c8e26e434caac4df59df8fcf2523d5283b4 /src/wallet/wallet_rpc_server_commands_defs.h
parentMerge pull request #2159 (diff)
downloadmonero-c97d1bd3d49781afc943f236c9a02dc3c4eb7709.tar.xz
wallet: return unlock_time in get_transfers
also show it in simplewallet's show_transfer
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 12ac281e4..7f6138362 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -536,6 +536,7 @@ namespace wallet_rpc
std::string note;
std::list<transfer_destination> destinations;
std::string type;
+ uint64_t unlock_time;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(txid);
@@ -547,6 +548,7 @@ namespace wallet_rpc
KV_SERIALIZE(note);
KV_SERIALIZE(destinations);
KV_SERIALIZE(type);
+ KV_SERIALIZE(unlock_time)
END_KV_SERIALIZE_MAP()
};