logging cleanup;

set numConfirmations;
set numSuggestedConfirmations but disagreement with test
This commit is contained in:
woodser
2019-06-09 11:39:05 -04:00
parent e2ffc1e21f
commit 2312cf639c
3 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ namespace MoneroUtils
// // TODO: template implementation here, could move to MoneroUtils.hpp per https://stackoverflow.com/questions/3040480/c-template-function-compiles-in-header-but-not-implementation
template <class T> boost::property_tree::ptree toPropertyTree(const vector<shared_ptr<T>> types) {
cout << "toPropertyTree(types)" << endl;
//cout << "toPropertyTree(types)" << endl;
boost::property_tree::ptree typeNodes;
for (const auto& type : types) {
typeNodes.push_back(std::make_pair("", type->toPropertyTree()));
@@ -73,7 +73,7 @@ namespace MoneroUtils
// // TODO: template implementation here, could move to MoneroUtils.hpp per https://stackoverflow.com/questions/3040480/c-template-function-compiles-in-header-but-not-implementation
template <class T> boost::property_tree::ptree toPropertyTree(const vector<T> types) {
cout << "toPropertyTree(types)" << endl;
//cout << "toPropertyTree(types)" << endl;
boost::property_tree::ptree typeNodes;
for (const auto& type : types) {
typeNodes.push_back(std::make_pair("", type.toPropertyTree()));