aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 19:08:13 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 19:08:13 +0200
commit47213e25194837f768f569df76f62dcdc69933c8 (patch)
treec462c3751903180cfefdf68f53090d8f99644842
parentMerge pull request #4993 (diff)
parentdevice/trezor: store tx_prefix_hash in tx key aux (diff)
downloadmonero-47213e25194837f768f569df76f62dcdc69933c8.tar.xz
Merge pull request #4994
c5e0539c device/trezor: store tx_prefix_hash in tx key aux (Dusan Klinec)
-rw-r--r--src/device_trezor/trezor/protocol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device_trezor/trezor/protocol.cpp b/src/device_trezor/trezor/protocol.cpp
index c4a92426c..13506a67f 100644
--- a/src/device_trezor/trezor/protocol.cpp
+++ b/src/device_trezor/trezor/protocol.cpp
@@ -877,6 +877,9 @@ namespace tx {
valueS.SetString(m_ct.enc_salt2.c_str(), m_ct.enc_salt2.size());
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());
json.AddMember("enc_keys", valueS, json.GetAllocator());