mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-23 18:18:32 +02:00
Documentation browser, improved error messages
This commit is contained in:
@@ -49,8 +49,12 @@ void SignVerifyDialog::signMessage() {
|
||||
|
||||
void SignVerifyDialog::verifyMessage() {
|
||||
bool verified = m_wallet->verifySignedMessage(ui->message->toPlainText(), ui->address->text(), ui->signature->text());
|
||||
verified ? QMessageBox::information(this, "Information", "Signature is valid")
|
||||
: QMessageBox::warning(this, "Warning", "Signature failed to verify");
|
||||
|
||||
if (verified) {
|
||||
Utils::showInfo(this, "Signature is valid");
|
||||
} else {
|
||||
Utils::showError(this, "Signature is not valid");
|
||||
}
|
||||
}
|
||||
|
||||
void SignVerifyDialog::copyToClipboard() {
|
||||
|
||||
Reference in New Issue
Block a user