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; }