aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-09 12:09:51 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-25 15:48:16 +0100
commitb2763ace069f2592a2adcf9d8d05126d3f1cf2a3 (patch)
tree9cb5c7e3d83055947d88edcdd1a34ca0d01211bc
parentget_blockchain_top now returns void (diff)
downloadmonero-b2763ace069f2592a2adcf9d8d05126d3f1cf2a3.tar.xz
wallet2_api: init error code to "no error" in the ctor
CID 161872
-rw-r--r--src/wallet/api/address_book.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/address_book.cpp b/src/wallet/api/address_book.cpp
index 28f835ebd..a955cb166 100644
--- a/src/wallet/api/address_book.cpp
+++ b/src/wallet/api/address_book.cpp
@@ -42,7 +42,7 @@ namespace Monero {
AddressBook::~AddressBook() {}
AddressBookImpl::AddressBookImpl(WalletImpl *wallet)
- : m_wallet(wallet) {}
+ : m_wallet(wallet), m_errorCode(Status_Ok) {}
bool AddressBookImpl::addRow(const std::string &dst_addr , const std::string &payment_id_str, const std::string &description)
{