Cleanups and fixes.

This commit is contained in:
JoelKatz
2012-09-07 22:21:07 -07:00
parent 0defc8d5ab
commit 63921c9757
8 changed files with 28 additions and 32 deletions

View File

@@ -16,8 +16,8 @@
#include "Application.h"
#include "utils.h"
Wallet::Wallet() : mLedger(0) {
}
Wallet::Wallet() : mDh512(NULL), mDh1024(NULL), mLedger(0)
{ ; }
void Wallet::start()
{
@@ -136,8 +136,6 @@ bool Wallet::dataFetch(const std::string& strKey, std::string& strValue)
if (db->executeSQL(str(boost::format("SELECT Value FROM RPCData WHERE Key=%s;")
% db->escape(strKey))) && db->startIterRows())
{
std::string strPublicKey, strPrivateKey;
std::vector<unsigned char> vucData = db->getBinary("Value");
strValue.assign(vucData.begin(), vucData.end());