aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
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/wallet2.cpp
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/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp1
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)