aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_default.cpp
diff options
context:
space:
mode:
authorcslashm <cslashm@gmail.com>2018-04-09 16:07:11 +0200
committercslashm <cslashm@gmail.com>2018-04-12 13:58:57 +0200
commit2c274e05fe760443aa80e63cdf9f6964c7902732 (patch)
tree2decc92909197e0cca7752ad7f8a570cda1942aa /src/device/device_default.cpp
parentMerge pull request #3549 (diff)
downloadmonero-2c274e05fe760443aa80e63cdf9f6964c7902732.tar.xz
Fix sub-address tx scan.
When additional keys was needed, the TX scan failed because the derivation data was always recomputed with the main tx_key and not the corresponding additional one. Moreover this patch avoid perf decreasing when not using HW device.
Diffstat (limited to 'src/device/device_default.cpp')
-rw-r--r--src/device/device_default.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/device_default.cpp b/src/device/device_default.cpp
index 56bd1e164..0071f7d4f 100644
--- a/src/device/device_default.cpp
+++ b/src/device/device_default.cpp
@@ -264,6 +264,10 @@ namespace hw {
return true;
}
+ bool device_default::conceal_derivation(crypto::key_derivation &derivation, const crypto::public_key &tx_pub_key, const std::vector<crypto::public_key> &additional_tx_pub_keys, const crypto::key_derivation &main_derivation, const std::vector<crypto::key_derivation> &additional_derivations){
+ return true;
+ }
+
/* ======================================================================= */
/* TRANSACTION */
/* ======================================================================= */