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