rename unlock height to unlock time

This commit is contained in:
woodser
2023-07-24 17:46:42 -04:00
parent 53da0cef03
commit d47580aa9e
6 changed files with 63 additions and 36 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ std::shared_ptr<monero_block> monero_utils::cn_block_to_block(const cryptonote::
std::shared_ptr<monero_tx> monero_utils::cn_tx_to_tx(const cryptonote::transaction& cn_tx, bool init_as_tx_wallet) {
std::shared_ptr<monero_tx> tx = init_as_tx_wallet ? std::make_shared<monero_tx_wallet>() : std::make_shared<monero_tx>();
tx->m_version = cn_tx.version;
tx->m_unlock_height = cn_tx.unlock_time;
tx->m_unlock_time = cn_tx.unlock_time;
tx->m_hash = epee::string_tools::pod_to_hex(cn_tx.hash);
tx->m_extra = cn_tx.extra;