From 35b7c6e50a737ef5cb8cd156fa8e0961e814bf82 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 27 Jul 2019 10:12:01 -0400 Subject: [PATCH] block toPropertyTree() serializes txIds --- src/daemon/MoneroDaemonModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/MoneroDaemonModel.cpp b/src/daemon/MoneroDaemonModel.cpp index 82ace5c..89e0633 100644 --- a/src/daemon/MoneroDaemonModel.cpp +++ b/src/daemon/MoneroDaemonModel.cpp @@ -138,7 +138,7 @@ namespace monero { if (hex != boost::none) node.put("hex", *hex); if (coinbaseTx != boost::none) node.add_child("coinbaseTx", (*coinbaseTx)->toPropertyTree()); if (!txs.empty()) node.add_child("txs", MoneroUtils::toPropertyTree(txs)); - // TODO: handle txIds; add test + if (!txIds.empty()) node.add_child("txIds", MoneroUtils::toPropertyTree(txIds)); return node; }