mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
interfaces: Fix const virtual method that breaks multiprocess support
This commit is contained in:
parent
82a379eca8
commit
924327eaf3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue