diff --git a/src/wallet/view_iface.h b/src/wallet/view_iface.h index 180bd9a8..3e34c039 100644 --- a/src/wallet/view_iface.h +++ b/src/wallet/view_iface.h @@ -215,6 +215,8 @@ public: std::string address; std::string tracking_hey; std::string path; + bool is_auditable; + bool is_watch_only; BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(unlocked_balance) @@ -223,6 +225,8 @@ public: KV_SERIALIZE(address) KV_SERIALIZE(tracking_hey) KV_SERIALIZE(path) + KV_SERIALIZE(is_auditable); + KV_SERIALIZE(is_watch_only); END_KV_SERIALIZE_MAP() }; diff --git a/src/wallet/wallet_helpers.h b/src/wallet/wallet_helpers.h index be227c62..1d62e1ea 100644 --- a/src/wallet/wallet_helpers.h +++ b/src/wallet/wallet_helpers.h @@ -19,6 +19,8 @@ namespace tools uint64_t fake = 0; wi.balance = w.balance(wi.unlocked_balance, fake, fake, wi.mined_total); wi.path = epee::string_encoding::wstring_to_utf8(w.get_wallet_path()); + wi.is_auditable = w.is_auditable(); + wi.is_watch_only = w.is_watch_only(); return true; } } \ No newline at end of file