diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-25 16:28:48 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-02 10:15:27 +0100 |
commit | c97d1bd3d49781afc943f236c9a02dc3c4eb7709 (patch) | |
tree | 15717c8e26e434caac4df59df8fcf2523d5283b4 /src/wallet/wallet2.cpp | |
parent | Merge pull request #2159 (diff) | |
download | monero-c97d1bd3d49781afc943f236c9a02dc3c4eb7709.tar.xz |
wallet: return unlock_time in get_transfers
also show it in simplewallet's show_transfer
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 6b1026a55..8a4cec017 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1097,6 +1097,7 @@ void wallet2::process_outgoing(const crypto::hash &txid, const cryptonote::trans } entry.first->second.m_block_height = height; entry.first->second.m_timestamp = ts; + entry.first->second.m_unlock_time = tx.unlock_time; } //---------------------------------------------------------------------------------------------------- void wallet2::process_new_blockchain_entry(const cryptonote::block& b, const cryptonote::block_complete_entry& bche, const crypto::hash& bl_id, uint64_t height, const cryptonote::COMMAND_RPC_GET_BLOCKS_FAST::block_output_indices &o_indices) |