mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Disallow copy of CReserveKeys
This commit is contained in:
parent
f7ec7cfd38
commit
188f89c3bb
@ -1009,6 +1009,10 @@ public:
|
|||||||
pwallet = pwalletIn;
|
pwallet = pwalletIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CReserveKey() = default;
|
||||||
|
CReserveKey(const CReserveKey&) = delete;
|
||||||
|
CReserveKey& operator=(const CReserveKey&) = delete;
|
||||||
|
|
||||||
~CReserveKey()
|
~CReserveKey()
|
||||||
{
|
{
|
||||||
ReturnKey();
|
ReturnKey();
|
||||||
|
Loading…
Reference in New Issue
Block a user