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

View File

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