Browse Source

Disallow copy of CReserveKeys

0.15
Gregory Sanders 8 years ago
parent
commit
188f89c3bb
  1. 4
      src/wallet/wallet.h

4
src/wallet/wallet.h

@ -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…
Cancel
Save