From 22bb6a654da23e8aa56d26b25e4299c0ed5c43df Mon Sep 17 00:00:00 2001 From: dsc Date: Sat, 19 Sep 2020 18:29:46 +0200 Subject: Allow AddressBook description edits via wallet/api interface --- src/wallet/api/wallet2_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/api/wallet2_api.h') diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 999823ff1..e8efc58b8 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -250,6 +250,7 @@ struct AddressBook virtual std::vector 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; -- cgit v1.2.3