From 72089314d94e1f2a494571ae0724e60050c9f775 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 5 Jun 2019 11:48:35 -0400 Subject: [PATCH] cleanup --- src/utils/MoneroUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/MoneroUtils.cpp b/src/utils/MoneroUtils.cpp index 98cdfe3..4f224a8 100644 --- a/src/utils/MoneroUtils.cpp +++ b/src/utils/MoneroUtils.cpp @@ -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);