diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 47268ba88c5..788f29c0390 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -182,6 +182,7 @@ public: class CAddressBookData { private: + bool m_change{true}; std::string m_label; public: const std::string& name; @@ -192,7 +193,9 @@ public: typedef std::map StringMap; StringMap destdata; + bool IsChange() const { return m_change; } void SetLabel(const std::string& label) { + m_change = false; m_label = label; } };