aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor/device_trezor_base.cpp
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2021-07-10 23:52:15 +0000
committeranon <anon [at] nowhere>2021-07-10 23:52:15 +0000
commita48db50b1c74d6c9125a35f1e230dd9cdf087a61 (patch)
treeb8b8695828229347617238eaa155a9a135d2fe3c /src/device_trezor/device_trezor_base.cpp
parentMerge pull request #7743 (diff)
downloadmonero-a48db50b1c74d6c9125a35f1e230dd9cdf087a61.tar.xz
device_trezor_base: fix typo
Diffstat (limited to 'src/device_trezor/device_trezor_base.cpp')
-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 5f21ecd49..b0b4342f5 100644
--- a/src/device_trezor/device_trezor_base.cpp
+++ b/src/device_trezor/device_trezor_base.cpp
@@ -511,7 +511,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);