mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge #8774: Qt refactors to better abstract wallet access
178cd88Qt/splash: Specifically keep track of which wallet(s) we are connected to for later disconnecting (Luke Dashjr)1880aebQt: Get the private key for signing messages via WalletModel (Luke Dashjr)
This commit is contained in:
@@ -142,7 +142,7 @@ void SignVerifyMessageDialog::on_signMessageButton_SM_clicked()
|
||||
}
|
||||
|
||||
CKey key;
|
||||
if (!pwalletMain->GetKey(keyID, key))
|
||||
if (!model->getPrivKey(keyID, key))
|
||||
{
|
||||
ui->statusLabel_SM->setStyleSheet("QLabel { color: red; }");
|
||||
ui->statusLabel_SM->setText(tr("Private key for the entered address is not available."));
|
||||
|
||||
Reference in New Issue
Block a user