mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-18 15:51:34 +02:00
cleanup
This commit is contained in:
@@ -151,7 +151,7 @@ boost::property_tree::ptree MoneroUtils::toPropertyTree(const MoneroSubaddress&
|
||||
boost::property_tree::ptree MoneroUtils::txToPropertyTree(const MoneroTx& tx) {
|
||||
cout << "txToPropertyTree(tx)" << endl;
|
||||
boost::property_tree::ptree txNode;
|
||||
if (tx.block != nullptr) txNode.put("id", *tx.id);
|
||||
if (tx.block != nullptr) throw runtime_error("not implemented");
|
||||
if (tx.id != nullptr) txNode.put("id", *tx.id);
|
||||
if (tx.version != nullptr) txNode.put("version", *tx.version);
|
||||
if (tx.isCoinbase != nullptr) txNode.put("isCoinbase", *tx.isCoinbase);
|
||||
|
||||
Reference in New Issue
Block a user