aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-07-27 17:03:46 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-07-27 17:03:46 -0400
commit56ce7fca6f025e850272cd2e8687b5dde8d5360a (patch)
treea210b4bb7bcec13ba08d297c4a89e58afdb51051
parentMerge pull request #7693 (diff)
parentdevice_trezor_base: fix typo (diff)
downloadmonero-56ce7fca6f025e850272cd2e8687b5dde8d5360a.tar.xz
Merge pull request #7781
4f7c38a device_trezor_base: fix typo (anon)
-rw-r--r--src/device_trezor/device_trezor_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_trezor/device_trezor_base.cpp b/src/device_trezor/device_trezor_base.cpp
index 70dc7f539..923d88e1d 100644
--- a/src/device_trezor/device_trezor_base.cpp
+++ b/src/device_trezor/device_trezor_base.cpp
@@ -510,7 +510,7 @@ namespace trezor {
const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() {
if (m.has_passphrase())
- memwipe(&(m.mutable_passphrase())[0], m.mutable_passphrase()->size());
+ memwipe(&(*m.mutable_passphrase())[0], m.mutable_passphrase()->size());
});
resp = call_raw(&m);