aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorNejcraft <nejcraftplays@gmail.com>2019-07-28 16:03:45 +0200
committerGitHub <noreply@github.com>2019-07-28 16:03:45 +0200
commit6da3561e2a57459fc9e748dedc843906e96a91df (patch)
tree0e82d78fe474d98961dcacc4bdb0aee958f7d9b0 /src/wallet
parentMerge pull request #5635 (diff)
downloadmonero-6da3561e2a57459fc9e748dedc843906e96a91df.tar.xz
Fixed error preventing build of monero-gui
get_attribute expects 2 values instead of 1
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 03db385a4..140261f0b 100644
--- a/src/wallet/api/wallet.cpp
+++ b/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)