wallet: make ReserveDestination pwallet ivar const

This commit is contained in:
Karl-Johan Alm 2020-03-02 17:21:38 +09:00
parent 57c569e4d9
commit d9b0ebc1da
No known key found for this signature in database
GPG key ID: 57AF762DB3353322

View file

@ -141,7 +141,7 @@ class ReserveDestination
{ {
protected: protected:
//! The wallet to reserve from //! The wallet to reserve from
CWallet* const pwallet; const CWallet* const pwallet;
//! The ScriptPubKeyMan to reserve from. Based on type when GetReservedDestination is called //! The ScriptPubKeyMan to reserve from. Based on type when GetReservedDestination is called
ScriptPubKeyMan* m_spk_man{nullptr}; ScriptPubKeyMan* m_spk_man{nullptr};
OutputType const type; OutputType const type;