• Gavin Andresen's avatar
    Do not write to wallet during LoadWallet · 2e935d11
    Gavin Andresen authored
    When debugging another issue, I found a hang-during-startup race condition due to
    LoadWallet calling SetMinVersion (via LoadCryptedKey).
    
    Writing to the file that you're in the process of reading is a bad idea.
    2e935d11
wallet.cpp 59 KB