https://travis-ci.org/github/bitcoin/bitcoin/jobs/679885530#L8791
{
    if (!IsCrypted())
        return false;
    {
        LOCK(cs_wallet);
        vMasterKey.clear();
    }
    NotifyStatusChanged(this);
    return true;
}
bool CWallet::Unlock(const CKeyingMaterial& vMasterKeyIn, bool accept_no_keys)
{
    {
        LOCK(cs_wallet);
        for (const auto& spk_man_pair : m_spk_managers) {
            if (!spk_man_pair.second->CheckDecryptionKey(vMasterKeyIn, accept_no_keys)) {
                return false;
            }
        }
        vMasterKey = vMasterKeyIn;
    }
    NotifyStatusChanged(this);
    return true;
}
std::set<ScriptPubKeyMan*> CWallet::GetActiveScriptPubKeyMans() const