aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-07-27 17:04:14 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-07-27 17:04:14 -0400
commit960376b960b3e1f1ef5ca5a136d39bbbb9b27cc9 (patch)
tree0aedb520c873fc95a5d2e67787d518a1cd6624bb /src/device_trezor
parentMerge pull request #7776 (diff)
parentdevice_trezor_base: fix typo (diff)
downloadmonero-960376b960b3e1f1ef5ca5a136d39bbbb9b27cc9.tar.xz
Merge pull request #7782
a48db50 device_trezor_base: fix typo (anon)
Diffstat (limited to 'src/device_trezor')
-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);