aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 47268ba88c..788f29c039 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<std::string, std::string> StringMap;
StringMap destdata;
+ bool IsChange() const { return m_change; }
void SetLabel(const std::string& label) {
+ m_change = false;
m_label = label;
}
};