From 4f7c38a4448826d6c46aec67c4ec5d3a86cc1c36 Mon Sep 17 00:00:00 2001 From: anon Date: Sat, 10 Jul 2021 23:52:15 +0000 Subject: device_trezor_base: fix typo --- src/device_trezor/device_trezor_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3