Make the compiler Elder Gods happy
This commit is contained in:
@@ -2143,7 +2143,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
LogPrintf("mapBlockIndex.size() = %u\n", mapBlockIndex.size());
|
LogPrintf("mapBlockIndex.size() = %u\n", mapBlockIndex.size());
|
||||||
LogPrintf("nBestHeight = %d\n", chainActive.Height());
|
LogPrintf("nBestHeight = %d\n", chainActive.Height());
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
RescanWallets();
|
//RescanWallets();
|
||||||
|
|
||||||
LogPrintf("setKeyPool.size() = %u\n", pwalletMain ? pwalletMain->setKeyPool.size() : 0);
|
LogPrintf("setKeyPool.size() = %u\n", pwalletMain ? pwalletMain->setKeyPool.size() : 0);
|
||||||
LogPrintf("mapWallet.size() = %u\n", pwalletMain ? pwalletMain->mapWallet.size() : 0);
|
LogPrintf("mapWallet.size() = %u\n", pwalletMain ? pwalletMain->mapWallet.size() : 0);
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ void ThreadNotifyWallets(CBlockIndex *pindexLastTip)
|
|||||||
while (pindexLastTip && pindexLastTip != pindexFork) {
|
while (pindexLastTip && pindexLastTip != pindexFork) {
|
||||||
// Read block from disk.
|
// Read block from disk.
|
||||||
CBlock block;
|
CBlock block;
|
||||||
if (!ReadBlockFromDisk(block, pindexLastTip, chainParams.GetConsensus())) {
|
if (!ReadBlockFromDisk(block, pindexLastTip,1)) {
|
||||||
LogPrintf("*** %s\n", "Failed to read block while notifying wallets of block disconnects");
|
LogPrintf("*** %s\n", "Failed to read block while notifying wallets of block disconnects");
|
||||||
uiInterface.ThreadSafeMessageBox(
|
uiInterface.ThreadSafeMessageBox(
|
||||||
_("Error: A fatal internal error occurred, see debug.log for details"),
|
_("Error: A fatal internal error occurred, see debug.log for details"),
|
||||||
@@ -201,7 +201,7 @@ void ThreadNotifyWallets(CBlockIndex *pindexLastTip)
|
|||||||
|
|
||||||
// Read block from disk.
|
// Read block from disk.
|
||||||
CBlock block;
|
CBlock block;
|
||||||
if (!ReadBlockFromDisk(block, blockData.pindex, chainParams.GetConsensus())) {
|
if (!ReadBlockFromDisk(block, blockData.pindex, 1)) {
|
||||||
LogPrintf("*** %s\n", "Failed to read block while notifying wallets of block connects");
|
LogPrintf("*** %s\n", "Failed to read block while notifying wallets of block connects");
|
||||||
uiInterface.ThreadSafeMessageBox(
|
uiInterface.ThreadSafeMessageBox(
|
||||||
_("Error: A fatal internal error occurred, see debug.log for details"),
|
_("Error: A fatal internal error occurred, see debug.log for details"),
|
||||||
|
|||||||
Reference in New Issue
Block a user