Hi,

I run a bitcoin server which have acting strange the latest 3-4 days. For some reason the unconfirmed balance when running bitcoin-cli getunconfirmedbalance shows up as 50.589243 BTC which of course isn't true.

How do I reset this? Why did this occur? Tried both v0.12 and v0.12.99, same problem.

Thanks in advance,
Nori

}
        else if (nLoadWalletRet == DB_TOO_NEW)
            errorString += strprintf(_("Error loading %s: Wallet requires newer version of %s"),
                               strWalletFile, _(PACKAGE_NAME)) +
                           "\n";
        else if (nLoadWalletRet == DB_NEED_REWRITE)
        {
            errorString += strprintf(_("Wallet needed to be rewritten: restart %s to complete"), _(PACKAGE_NAME)) + "\n";
            LogPrintf("%s", errorString);
        }
        else
            errorString += strprintf(_("Error loading %s"), strWalletFile) + "\n";
        if (!errorString.empty())
            return NULL;
    }
    if (GetBoolArg("-upgradewallet", fFirstRun))
    {
        int nMaxVersion = GetArg("-upgradewallet", 0);
        if (nMaxVersion == 0) 
        {
            LogPrintf("Performing wallet upgrade to %i\n", FEATURE_LATEST);
            nMaxVersion = CLIENT_VERSION;
            walletInstance->SetMinVersion(FEATURE_LATEST); 
        }
        else
            LogPrintf("Allowing wallet upgrade up to %i\n", nMaxVersion);
        if (nMaxVersion < walletInstance->GetVersion())
        {
            errorString += _("Cannot downgrade wallet") + "\n";
            return NULL;