@@ -5263,9 +5263,6 @@ bool LoadDepositCache()
52635263 return false ;
52645264 }
52655265
5266- // TODO log this
5267- uint64_t fileSize = fs::file_size (path);
5268-
52695266 std::vector<SidechainDeposit> vDeposit;
52705267 try {
52715268 int nVersionRequired, nVersionThatWrote;
@@ -5341,9 +5338,6 @@ bool LoadWTPrimeCache()
53415338 return false ;
53425339 }
53435340
5344- // TODO log this
5345- uint64_t fileSize = fs::file_size (path);
5346-
53475341 std::vector<CTransactionRef> vWTPrime;
53485342 try {
53495343 int nVersionRequired, nVersionThatWrote;
@@ -5412,9 +5406,6 @@ bool LoadSidechainActivationStatusCache()
54125406 return false ;
54135407 }
54145408
5415- // TODO log this
5416- uint64_t fileSize = fs::file_size (path);
5417-
54185409 std::vector<SidechainActivationStatus> vActivationStatus;
54195410 try {
54205411 int nVersionRequired, nVersionThatWrote;
@@ -5480,9 +5471,6 @@ bool LoadActiveSidechainCache()
54805471 return false ;
54815472 }
54825473
5483- // TODO log this
5484- uint64_t fileSize = fs::file_size (path);
5485-
54865474 std::vector<Sidechain> vSidechain;
54875475 try {
54885476 int nVersionRequired, nVersionThatWrote;
@@ -5547,9 +5535,6 @@ bool LoadSidechainProposalCache()
55475535 return false ;
55485536 }
55495537
5550- // TODO log this
5551- uint64_t fileSize = fs::file_size (path);
5552-
55535538 std::vector<SidechainProposal> vProposal;
55545539 try {
55555540 int nVersionRequired, nVersionThatWrote;
@@ -5614,9 +5599,6 @@ bool LoadSidechainActivationHashCache()
56145599 return false ;
56155600 }
56165601
5617- // TODO log this
5618- uint64_t fileSize = fs::file_size (path);
5619-
56205602 std::vector<uint256> vHash;
56215603 try {
56225604 int nVersionRequired, nVersionThatWrote;
@@ -5635,7 +5617,6 @@ bool LoadSidechainActivationHashCache()
56355617 }
56365618 }
56375619 catch (const std::exception& e) {
5638- // TODO log this
56395620 LogPrintf (" %s: Exception: %s\n " , __func__, e.what ());
56405621 return false ;
56415622 }
0 commit comments