mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
device/trezor: store tx_prefix_hash in tx key aux
- tx_prefix_hash is required in the key derivation for decryption of the tx keys
This commit is contained in:
parent
6bc0c7e685
commit
c5e0539cb5
1 changed files with 3 additions and 0 deletions
|
@ -877,6 +877,9 @@ namespace tx {
|
||||||
valueS.SetString(m_ct.enc_salt2.c_str(), m_ct.enc_salt2.size());
|
valueS.SetString(m_ct.enc_salt2.c_str(), m_ct.enc_salt2.size());
|
||||||
json.AddMember("salt2", valueS, json.GetAllocator());
|
json.AddMember("salt2", valueS, json.GetAllocator());
|
||||||
|
|
||||||
|
valueS.SetString(m_ct.tx_prefix_hash.c_str(), m_ct.tx_prefix_hash.size());
|
||||||
|
json.AddMember("tx_prefix_hash", valueS, json.GetAllocator());
|
||||||
|
|
||||||
valueS.SetString(m_ct.enc_keys.c_str(), m_ct.enc_keys.size());
|
valueS.SetString(m_ct.enc_keys.c_str(), m_ct.enc_keys.size());
|
||||||
json.AddMember("enc_keys", valueS, json.GetAllocator());
|
json.AddMember("enc_keys", valueS, json.GetAllocator());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue