mirror of
https://github.com/wownero/wownero.git
synced 2026-10-18 08:01:34 +02:00
device_trezor: improve error message for view key export
This commit is contained in:
@@ -205,6 +205,8 @@ namespace trezor {
|
||||
|
||||
return true;
|
||||
|
||||
} catch(const exc::proto::CancelledException &){
|
||||
CHECK_AND_ASSERT_THROW_MES(false, "Key export rejected on device");
|
||||
} catch(std::exception const& e){
|
||||
MERROR("Get secret keys exception: " << e.what());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user