interfaces: Fix const virtual method that breaks multiprocess support

This commit is contained in:
Ryan Ofsky 2022-08-23 22:03:49 -04:00
parent 82a379eca8
commit 924327eaf3
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ public:
wallet::AddressPurpose* purpose) = 0;
//! Get wallet address list.
virtual std::vector<WalletAddress> getAddresses() const = 0;
virtual std::vector<WalletAddress> getAddresses() = 0;
//! Get receive requests.
virtual std::vector<std::string> getAddressReceiveRequests() = 0;

View file

@ -212,7 +212,7 @@ public:
}
return true;
}
std::vector<WalletAddress> getAddresses() const override
std::vector<WalletAddress> getAddresses() override
{
LOCK(m_wallet->cs_wallet);
std::vector<WalletAddress> result;