|
|
@ -1665,7 +1665,7 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe |
|
|
|
BOOST_FOREACH(const COutputEntry& r, listReceived) |
|
|
|
{ |
|
|
|
string account; |
|
|
|
fprintf(stderr,"recv iter %s\n",wtx.GetHash().GetHex().c_str()); |
|
|
|
//fprintf(stderr,"recv iter %s\n",wtx.GetHash().GetHex().c_str());
|
|
|
|
if (pwalletMain->mapAddressBook.count(r.destination)) |
|
|
|
account = pwalletMain->mapAddressBook[r.destination].name; |
|
|
|
if (fAllAccounts || (account == strAccount)) |
|
|
@ -1817,7 +1817,7 @@ UniValue listtransactions(const UniValue& params, bool fHelp) |
|
|
|
CWalletTx *const pwtx = (*it).second.first; |
|
|
|
if (pwtx != 0) |
|
|
|
{ |
|
|
|
fprintf(stderr,"pwtx iter.%d %s\n",(int32_t)pwtx->nOrderPos,pwtx->GetHash().GetHex().c_str()); |
|
|
|
//fprintf(stderr,"pwtx iter.%d %s\n",(int32_t)pwtx->nOrderPos,pwtx->GetHash().GetHex().c_str());
|
|
|
|
ListTransactions(*pwtx, strAccount, 0, true, ret, filter); |
|
|
|
} |
|
|
|
//else fprintf(stderr,"null pwtx\n");
|
|
|
|