mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01: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() {}
|
AddressBook::~AddressBook() {}
|
||||||
|
|
||||||
AddressBookImpl::AddressBookImpl(WalletImpl *wallet)
|
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)
|
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