Merge pull request #5779

6da3561 Fixed error preventing build of monero-gui (honzapatCZ)
This commit is contained in:
luigi1111 2019-08-06 15:09:45 -05:00
commit 1bb4ae3b5e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1705,7 +1705,9 @@ bool WalletImpl::setCacheAttribute(const std::string &key, const std::string &va
std::string WalletImpl::getCacheAttribute(const std::string &key) const std::string WalletImpl::getCacheAttribute(const std::string &key) const
{ {
return m_wallet->get_attribute(key); std::string value;
m_wallet->get_attribute(key, value);
return value;
} }
bool WalletImpl::setUserNote(const std::string &txid, const std::string &note) bool WalletImpl::setUserNote(const std::string &txid, const std::string &note)