mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Ignore a spurious error
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user