aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authordsc <dsc@xmr.pm>2020-09-19 18:29:46 +0200
committerdsc <dsc@xmr.pm>2020-09-19 18:29:46 +0200
commit1b3f2202514f83d983b185ee96c476c47cdd3fad (patch)
tree95783f035825c9c51517aa7a2600f7e60cbc7ed9 /src/wallet/api/wallet2_api.h
parentMerge pull request #6819 (diff)
downloadmonero-1b3f2202514f83d983b185ee96c476c47cdd3fad.tar.xz
Allow AddressBook description edits via wallet/api interface
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet2_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 50df7e5dd..c2559d1df 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -250,6 +250,7 @@ struct AddressBook
virtual std::vector<AddressBookRow*> getAll() const = 0;
virtual bool addRow(const std::string &dst_addr , const std::string &payment_id, const std::string &description) = 0;
virtual bool deleteRow(std::size_t rowId) = 0;
+ virtual bool setDescription(std::size_t index, const std::string &description) = 0;
virtual void refresh() = 0;
virtual std::string errorString() const = 0;
virtual int errorCode() const = 0;