mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
receive: improve wallet file corruption detection
This commit is contained in:
+6
-1
@@ -1591,7 +1591,12 @@ void MainWindow::onInitiateTransaction() {
|
||||
void MainWindow::onKeysCorrupted() {
|
||||
if (!m_criticalWarningShown) {
|
||||
m_criticalWarningShown = true;
|
||||
Utils::showError(this, "Wallet keys are corrupted", "WARNING!\n\nTo prevent LOSS OF FUNDS do NOT continue to use this wallet file.\n\nRestore your wallet from seed.\n\nPlease report this incident to the Feather developers.\n\nWARNING!");
|
||||
Utils::showError(this, "Potential wallet file corruption detected",
|
||||
"WARNING!\n\n"
|
||||
"To prevent LOSS OF FUNDS do NOT continue to use this wallet file.\n\n"
|
||||
"Restore your wallet from seed, keys, or device.\n\n"
|
||||
"Please report this incident to the Feather developers.\n\n"
|
||||
"WARNING!", {}, "report_an_issue");
|
||||
m_sendWidget->disallowSending();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user