From e39a2ddbb338e8905beac4da5efcf6881cb4d7ed Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 19 Jan 2012 14:25:35 -0800 Subject: [PATCH] Ignore a spurious error --- Wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wallet.cpp b/Wallet.cpp index 79aee9f42..bbf3dc660 100644 --- a/Wallet.cpp +++ b/Wallet.cpp @@ -456,14 +456,14 @@ void Wallet::load() ScopedLock sl(theApp->getWalletDB()->getDBLock()); Database *db=theApp->getWalletDB()->getDB(); - if(!db->executeSQL(sql.c_str()) || !db->startIterRows()) + if(!db->executeSQL(sql.c_str())) { #ifdef DEBUG std::cerr << "Unable to load wallet" << std::endl; #endif return; } - + if(!db->startIterRows()) return; while(db->getNextRow()) { std::string family, rootpub, name, comment;