X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.cpp;h=45823f678c30c882b2d268db83b2c6f6bcf433fd;hp=89fad8f027e16051b00f2dd8ae80276e5c8cf22a;hb=52c85881648d3381c29da10925c06cbd083cc570;hpb=b82857ee25ac3edc77ba317ec17480896c93a128 diff --git a/src/wallet.cpp b/src/wallet.cpp index 89fad8f..45823f6 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -267,13 +267,6 @@ bool CWallet::SetMinVersion(enum WalletFeature nVersion, CWalletDB* pwalletdbIn, if (fFileBacked) { CWalletDB* pwalletdb = pwalletdbIn ? pwalletdbIn : new CWalletDB(strWalletFile); - if (nWalletVersion >= 40000) - { - // Versions prior to 0.4.0 did not support the "minversion" record. - // Use a CCorruptAddress to make them crash instead. - CCorruptAddress corruptAddress; - pwalletdb->WriteSetting("addrIncoming", corruptAddress); - } if (nWalletVersion > 40000) pwalletdb->WriteMinVersion(nWalletVersion); if (!pwalletdbIn)