aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/address_book.h
diff options
context:
space:
mode:
authordsc <dsc@xmr.pm>2020-09-19 18:29:46 +0200
committerselsta <selsta@sent.at>2021-04-22 04:31:36 +0200
commit22bb6a654da23e8aa56d26b25e4299c0ed5c43df (patch)
tree2a736784fadc2c1c8202c35a2ce68962f4d4027c /src/wallet/api/address_book.h
parentMerge pull request #7655 (diff)
downloadmonero-22bb6a654da23e8aa56d26b25e4299c0ed5c43df.tar.xz
Allow AddressBook description edits via wallet/api interface
Diffstat (limited to 'src/wallet/api/address_book.h')
-rw-r--r--src/wallet/api/address_book.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/address_book.h b/src/wallet/api/address_book.h
index f287969f3..e22f474fb 100644
--- a/src/wallet/api/address_book.h
+++ b/src/wallet/api/address_book.h
@@ -45,6 +45,7 @@ public:
void refresh() override;
std::vector<AddressBookRow*> getAll() const override;
bool addRow(const std::string &dst_addr , const std::string &payment_id, const std::string &description) override;
+ bool setDescription(std::size_t index, const std::string &description) override;
bool deleteRow(std::size_t rowId) override;
// Error codes. See AddressBook:ErrorCode enum in wallet2_api.h