mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-27 17:49:37 +01:00
Disallow copy of CReserveKeys
This commit is contained in:
@@ -1009,6 +1009,10 @@ public:
|
|||||||
pwallet = pwalletIn;
|
pwallet = pwalletIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CReserveKey() = default;
|
||||||
|
CReserveKey(const CReserveKey&) = delete;
|
||||||
|
CReserveKey& operator=(const CReserveKey&) = delete;
|
||||||
|
|
||||||
~CReserveKey()
|
~CReserveKey()
|
||||||
{
|
{
|
||||||
ReturnKey();
|
ReturnKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user