device_trezor_base: fix typo

This commit is contained in:
anon 2021-07-10 23:52:15 +00:00
parent 7d2e717ee8
commit 4f7c38a444
No known key found for this signature in database
GPG Key ID: D3857C17AA7F968B

View File

@ -510,7 +510,7 @@ namespace trezor {
const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() { const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() {
if (m.has_passphrase()) 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); resp = call_raw(&m);