From 29c8e628a74c0216401a0fd526ca9889e773daa2 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 25 Jun 2019 13:59:34 -0400 Subject: [PATCH] txIds to property tree --- src/wallet/MoneroWalletModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/MoneroWalletModel.cpp b/src/wallet/MoneroWalletModel.cpp index 6306c4f..1ece942 100644 --- a/src/wallet/MoneroWalletModel.cpp +++ b/src/wallet/MoneroWalletModel.cpp @@ -90,7 +90,7 @@ namespace monero { boost::property_tree::ptree node = MoneroTxWallet::toPropertyTree(); if (isOutgoing != boost::none) node.put("isOutgoing", *isOutgoing); if (isIncoming != boost::none) node.put("isIncoming", *isIncoming); - if (!txIds.empty()) throw runtime_error("txIds not implemented"); + if (!txIds.empty()) node.add_child("txIds", MoneroUtils::toPropertyTree(txIds)); if (hasPaymentId != boost::none) node.put("hasPaymentId", *hasPaymentId); if (!paymentIds.empty()) throw runtime_error("paymentIds not implemented"); if (minHeight != boost::none) node.put("minHeight", *minHeight);