added totalfund logging

This commit is contained in:
dimxy
2019-05-08 16:03:35 +05:00
parent b25371ef01
commit 0730775cad

View File

@@ -2079,6 +2079,7 @@ UniValue PricesGetOrderbook()
SetCCunspents(addressCCunspents, cp->unspendableCCaddr, true); // cc marker
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it = addressCCunspents.begin(); it != addressCCunspents.end(); it++)
{
std::cerr << "totalfund calc txid=" << it->first.txhash.GetHex() << " nvout=" << it->first.index << " satoshis=" << it->second.satoshis;
totalfund += it->second.satoshis;
}