diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-09 12:09:51 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-25 15:48:16 +0100 |
commit | b2763ace069f2592a2adcf9d8d05126d3f1cf2a3 (patch) | |
tree | 9cb5c7e3d83055947d88edcdd1a34ca0d01211bc /src | |
parent | get_blockchain_top now returns void (diff) | |
download | monero-b2763ace069f2592a2adcf9d8d05126d3f1cf2a3.tar.xz |
wallet2_api: init error code to "no error" in the ctor
CID 161872
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/api/address_book.cpp | 2 |
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) { |