mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 06:55:50 +00:00
Add binary data support for RPC data_fetch.
This commit is contained in:
@@ -135,7 +135,8 @@ bool Wallet::dataFetch(const std::string& strKey, std::string& strValue)
|
||||
{
|
||||
std::string strPublicKey, strPrivateKey;
|
||||
|
||||
db->getStr("Value", strValue);
|
||||
std::vector<unsigned char> vucData = db->getBinary("Value");
|
||||
strValue.assign(vucData.begin(), vucData.end());
|
||||
|
||||
db->endIterRows();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user