diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-02 12:18:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-02 13:00:08 +0000 |
commit | bc94ba4d1421b061e12eb187f553250223a1ff8d (patch) | |
tree | e373d7ae434ccf4d0a5ae6524d17cc7014e44421 /src/wallet/wallet2.h | |
parent | Merge pull request #5486 (diff) | |
download | monero-bc94ba4d1421b061e12eb187f553250223a1ff8d.tar.xz |
wallet: distinguish between empty and absent attributes
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index d101e87f5..d76f9ecc7 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1247,7 +1247,7 @@ private: */ const char* const ATTRIBUTE_DESCRIPTION = "wallet2.description"; void set_attribute(const std::string &key, const std::string &value); - std::string get_attribute(const std::string &key) const; + bool get_attribute(const std::string &key, std::string &value) const; crypto::public_key get_multisig_signer_public_key(const crypto::secret_key &spend_skey) const; crypto::public_key get_multisig_signer_public_key() const; |