mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 11:56:31 +02:00
wallet2_api: init error code to "no error" in the ctor
CID 161872
This commit is contained in:
parent
b5faac5304
commit
b2763ace06
@ -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 New Issue
Block a user