diff --git a/src/wallet/view_iface.h b/src/wallet/view_iface.h index 3e34c039..835bade9 100644 --- a/src/wallet/view_iface.h +++ b/src/wallet/view_iface.h @@ -213,7 +213,7 @@ public: uint64_t balance; uint64_t mined_total; std::string address; - std::string tracking_hey; + std::string view_sec_key; std::string path; bool is_auditable; bool is_watch_only; @@ -223,7 +223,7 @@ public: KV_SERIALIZE(balance) KV_SERIALIZE(mined_total) KV_SERIALIZE(address) - KV_SERIALIZE(tracking_hey) + KV_SERIALIZE(view_sec_key) KV_SERIALIZE(path) KV_SERIALIZE(is_auditable); KV_SERIALIZE(is_watch_only); diff --git a/src/wallet/wallet_helpers.h b/src/wallet/wallet_helpers.h index 1d62e1ea..9f415dfb 100644 --- a/src/wallet/wallet_helpers.h +++ b/src/wallet/wallet_helpers.h @@ -15,7 +15,7 @@ namespace tools { wi = AUTO_VAL_INIT_T(view::wallet_info); wi.address = w.get_account().get_public_address_str(); - wi.tracking_hey = epee::string_tools::pod_to_hex(w.get_account().get_keys().view_secret_key); + wi.view_sec_key = epee::string_tools::pod_to_hex(w.get_account().get_keys().view_secret_key); 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());