Browse Source

useless debug

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
22cba50e54
  1. 2
      src/txdb.cpp

2
src/txdb.cpp

@ -57,7 +57,7 @@ bool CCoinsViewDB::SetBestBlock(CBlockIndex *pindex) {
} }
bool CCoinsViewDB::BatchWrite(const std::map<uint256, CCoins> &mapCoins, CBlockIndex *pindex) { bool CCoinsViewDB::BatchWrite(const std::map<uint256, CCoins> &mapCoins, CBlockIndex *pindex) {
printf("Committing %u changed transactions to coin database...\n", (unsigned int)mapCoins.size()); //printf("Committing %u changed transactions to coin database...\n", (unsigned int)mapCoins.size());
CLevelDBBatch batch; CLevelDBBatch batch;
for (std::map<uint256, CCoins>::const_iterator it = mapCoins.begin(); it != mapCoins.end(); it++) for (std::map<uint256, CCoins>::const_iterator it = mapCoins.begin(); it != mapCoins.end(); it++)

Loading…
Cancel
Save