From d865dd56e09d4c8dbbd71a7a25968fb4f15f3776 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 28 Nov 2019 14:05:38 -0500 Subject: [PATCH] cleanup; ready to implement wallet address book methods --- src/wallet/monero_wallet.cpp | 4 ++-- src/wallet/monero_wallet.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wallet/monero_wallet.cpp b/src/wallet/monero_wallet.cpp index 67920d3..8608844 100644 --- a/src/wallet/monero_wallet.cpp +++ b/src/wallet/monero_wallet.cpp @@ -2798,11 +2798,11 @@ namespace monero { throw runtime_error("add_address_book_entry() not implemented"); } - void monero_wallet::edit_address_book_entry(uint32_t index, bool set_address, boost::optional address, bool set_description, boost::optional description, bool set_paymenet_id, boost::optional payment_id) { + void monero_wallet::edit_address_book_entry(uint32_t index, bool set_address, boost::optional address, bool set_description, boost::optional description, bool set_payment_id, boost::optional payment_id) { throw runtime_error("edit_address_book_entry() not implemented"); } - void monero_wallet::delete_address_book_entry(uint32_t entry_idx) { + void monero_wallet::delete_address_book_entry(uint32_t index) { throw runtime_error("delete_address_book_entry() not implemented"); } diff --git a/src/wallet/monero_wallet.h b/src/wallet/monero_wallet.h index 2161914..1eb95fa 100644 --- a/src/wallet/monero_wallet.h +++ b/src/wallet/monero_wallet.h @@ -1195,14 +1195,14 @@ namespace monero { * @param set_payment_id specifies if the payment id should be updated * @param payment_id is the updated payment id */ - void edit_address_book_entry(uint32_t index, bool set_address, boost::optional address, bool set_description, boost::optional description, bool set_paymenet_id, boost::optional payment_id); + void edit_address_book_entry(uint32_t index, bool set_address, boost::optional address, bool set_description, boost::optional description, bool set_payment_id, boost::optional payment_id); /** * Delete an address book entry. * - * @param entry_idx is the index of the entry to delete + * @param index is the index of the entry to delete */ - void delete_address_book_entry(uint32_t entry_idx); + void delete_address_book_entry(uint32_t index); // /** // * Tag accounts.