From 7968671a6c4f0690862e4e7cbb7f5c6fc7652b62 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 5 Jun 2019 11:48:54 -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 4f224a8..7ec0fbb 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) throw runtime_error("not implemented"); + if (tx.block != nullptr) throw runtime_error("not implemented"); // this should be ignored since we only serialize down the tree 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);