diff --git a/src/Wallet.cpp b/src/Wallet.cpp index f3c079fa71..29454a18ae 100644 --- a/src/Wallet.cpp +++ b/src/Wallet.cpp @@ -135,7 +135,8 @@ bool Wallet::dataFetch(const std::string& strKey, std::string& strValue) { std::string strPublicKey, strPrivateKey; - db->getStr("Value", strValue); + std::vector vucData = db->getBinary("Value"); + strValue.assign(vucData.begin(), vucData.end()); db->endIterRows();