Skip to content
Permalink
Browse files

Fixed error preventing build of monero-gui

get_attribute expects 2 values instead of 1
  • Loading branch information...
honzapatCZ committed Jul 28, 2019
1 parent 8adde33 commit 6da3561e2a57459fc9e748dedc843906e96a91df
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/wallet/api/wallet.cpp
@@ -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)

0 comments on commit 6da3561

Please sign in to comment.
You can’t perform that action at this time.