Ignore a spurious error

This commit is contained in:
JoelKatz
2012-01-19 14:25:35 -08:00
parent 10f7d3247d
commit e39a2ddbb3

View File

@@ -456,14 +456,14 @@ void Wallet::load()
ScopedLock sl(theApp->getWalletDB()->getDBLock()); ScopedLock sl(theApp->getWalletDB()->getDBLock());
Database *db=theApp->getWalletDB()->getDB(); Database *db=theApp->getWalletDB()->getDB();
if(!db->executeSQL(sql.c_str()) || !db->startIterRows()) if(!db->executeSQL(sql.c_str()))
{ {
#ifdef DEBUG #ifdef DEBUG
std::cerr << "Unable to load wallet" << std::endl; std::cerr << "Unable to load wallet" << std::endl;
#endif #endif
return; return;
} }
if(!db->startIterRows()) return;
while(db->getNextRow()) while(db->getNextRow())
{ {
std::string family, rootpub, name, comment; std::string family, rootpub, name, comment;