wallet2_api: init error code to "no error" in the ctor

CID 161872
This commit is contained in:
moneromooo-monero 2017-09-09 12:09:51 +01:00
parent b5faac5304
commit b2763ace06
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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)
{