mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
wallet2_api: init error code to "no error" in the ctor
CID 161872
This commit is contained in:
parent
b5faac5304
commit
b2763ace06
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue