mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Disable salvagewallet in GUI (#1390)
* Disable salvagewallet in GUI salvagewallet is known to cause problems and it's way to powerful to let it be accessible in GUI https://github.com/bitcoin/bitcoin/issues/7463 I have few reports from different users as well, would be a disaster for them, glad we have autobackup... * typo
This commit is contained in:
parent
eaf90b7717
commit
61d56ee22e
@ -275,7 +275,9 @@ RPCConsole::RPCConsole(const PlatformStyle *platformStyle, QWidget *parent) :
|
|||||||
connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear()));
|
connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear()));
|
||||||
|
|
||||||
// Wallet Repair Buttons
|
// Wallet Repair Buttons
|
||||||
connect(ui->btn_salvagewallet, SIGNAL(clicked()), this, SLOT(walletSalvage()));
|
// connect(ui->btn_salvagewallet, SIGNAL(clicked()), this, SLOT(walletSalvage()));
|
||||||
|
// Disable salvage option in GUI, it's way too powerful and can lead to funds loss
|
||||||
|
ui->btn_salvagewallet->setEnabled(false);
|
||||||
connect(ui->btn_rescan, SIGNAL(clicked()), this, SLOT(walletRescan()));
|
connect(ui->btn_rescan, SIGNAL(clicked()), this, SLOT(walletRescan()));
|
||||||
connect(ui->btn_zapwallettxes1, SIGNAL(clicked()), this, SLOT(walletZaptxes1()));
|
connect(ui->btn_zapwallettxes1, SIGNAL(clicked()), this, SLOT(walletZaptxes1()));
|
||||||
connect(ui->btn_zapwallettxes2, SIGNAL(clicked()), this, SLOT(walletZaptxes2()));
|
connect(ui->btn_zapwallettxes2, SIGNAL(clicked()), this, SLOT(walletZaptxes2()));
|
||||||
|
Loading…
Reference in New Issue
Block a user