Skip to content

Commit

Permalink
Fixed error preventing build of monero-gui
Browse files Browse the repository at this point in the history
get_attribute expects 2 values instead of 1
  • Loading branch information
honzapatCZ committed Jul 28, 2019
1 parent 8adde33 commit 6da3561
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wallet/api/wallet.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 6da3561

Please sign in to comment.