txIds -> txHashes

This commit is contained in:
woodser
2019-12-09 13:46:49 -05:00
parent f64108eb6f
commit 2aa790e7b5
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ namespace monero {
// set sub-arrays
if (!m_txs.empty()) root.AddMember("txs", monero_utils::to_rapidjson_val(allocator, m_txs), allocator);
if (!m_tx_hashes.empty()) root.AddMember("txIds", monero_utils::to_rapidjson_val(allocator, m_tx_hashes), allocator);
if (!m_tx_hashes.empty()) root.AddMember("txHashes", monero_utils::to_rapidjson_val(allocator, m_tx_hashes), allocator);
// set sub-objects
if (m_miner_tx != boost::none) root.AddMember("minerTx", m_miner_tx.get()->to_rapidjson_val(allocator), allocator);