diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-06 15:09:45 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-06 15:09:45 -0500 |
commit | 1bb4ae3b5e9c6e9599fbefb2fd311d7c850ff06c (patch) | |
tree | 0e82d78fe474d98961dcacc4bdb0aee958f7d9b0 /src/wallet | |
parent | Merge pull request #5635 (diff) | |
parent | Fixed error preventing build of monero-gui (diff) | |
download | monero-1bb4ae3b5e9c6e9599fbefb2fd311d7c850ff06c.tar.xz |
Merge pull request #5779
6da3561 Fixed error preventing build of monero-gui (honzapatCZ)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/api/wallet.cpp | 4 |
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 ¬e) |