From 3a1b57e86c3ac96ed3c1289e7c9b2b7dbd8870bf Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 24 Jun 2019 14:09:21 -0400 Subject: [PATCH] MoneroOutputRequest::toPropertyTree() impl --- 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 1a98682..7263cad 100644 --- a/src/wallet/MoneroWalletModel.cpp +++ b/src/wallet/MoneroWalletModel.cpp @@ -324,7 +324,7 @@ namespace monero { boost::property_tree::ptree MoneroOutputRequest::toPropertyTree() const { boost::property_tree::ptree node = MoneroOutputWallet::toPropertyTree(); - if (!subaddressIndices.empty()) throw runtime_error("MoneroOutputRequest toPropertyTree() subaddressIndices not implemented"); + if (!subaddressIndices.empty()) node.add_child("subaddressIndices", MoneroUtils::toPropertyTree(subaddressIndices)); return node; }