Fixed error preventing build of monero-gui

get_attribute expects 2 values instead of 1
This commit is contained in:
Nejcraft 2019-07-28 16:03:45 +02:00 committed by GitHub
parent 8adde33e01
commit 6da3561e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
{
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)