1
0
Fork 0
forked from lthn/blockchain

good-bye "tracking_hey"!

This commit is contained in:
sowle 2020-05-29 11:56:36 +03:00
parent df41672f44
commit d932f1e98d
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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());