implement sweepDust()

This commit is contained in:
woodser
2019-07-05 21:53:32 -04:00
parent 09a88903f0
commit ef24963100
2 changed files with 72 additions and 4 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ namespace monero {
boost::property_tree::ptree node = MoneroBlockHeader::toPropertyTree();
if (hex != boost::none) node.put("hex", *hex);
if (coinbaseTx != boost::none) node.add_child("coinbaseTx", (*coinbaseTx)->toPropertyTree());
node.add_child("txs", MoneroUtils::toPropertyTree(txs));
// TODO: handle txIds
if (!txs.empty()) node.add_child("txs", MoneroUtils::toPropertyTree(txs));
// TODO: handle txIds; add test
return node;
}