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

CID 161872
release-v0.4.0.1
moneromooo-monero 7 years ago
parent b5faac5304
commit b2763ace06
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save