From aa2183c47393b249dd8a71f93819db4699e4064b Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 3 Mar 2020 06:50:21 -0500 Subject: [PATCH] remove payment id from address book --- src/wallet/monero_wallet.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wallet/monero_wallet.h b/src/wallet/monero_wallet.h index 7b3439a..f19c755 100644 --- a/src/wallet/monero_wallet.h +++ b/src/wallet/monero_wallet.h @@ -1306,7 +1306,7 @@ namespace monero { * @param description is the entry description (optional) * @return the index of the added entry */ - virtual uint64_t add_address_book_entry(const string& address, const string& description, const string& payment_id = "") { + virtual uint64_t add_address_book_entry(const string& address, const string& description) { throw runtime_error("add_address_book_entry() not supported"); } @@ -1318,10 +1318,8 @@ namespace monero { * @param address is the updated address * @param set_description specifies if the description should be updated * @param description is the updated description - * @param set_payment_id specifies if the payment id should be updated - * @param payment_id is the updated payment id */ - virtual void edit_address_book_entry(uint64_t index, bool set_address, const string& address, bool set_description, const string& description, bool set_payment_id = false, const string& payment_id = "") { + virtual void edit_address_book_entry(uint64_t index, bool set_address, const string& address, bool set_description, const string& description) { throw runtime_error("edit_address_book_entry() not supported"); }