Auto shielding for t Addresses
This commit is contained in:
@@ -387,6 +387,9 @@ void MainWindow::setupSettingsModal() {
|
||||
// Custom fees
|
||||
settings.chkCustomFees->setChecked(Settings::getInstance()->getAllowCustomFees());
|
||||
|
||||
// Auto shielding
|
||||
settings.chkAutoShield->setChecked(Settings::getInstance()->getAutoShield());
|
||||
|
||||
// Connection Settings
|
||||
QIntValidator validator(0, 65535);
|
||||
settings.port->setValidator(&validator);
|
||||
@@ -426,6 +429,9 @@ void MainWindow::setupSettingsModal() {
|
||||
if (!customFees)
|
||||
ui->minerFeeAmt->setText(Settings::getDecimalString(Settings::getMinerFee()));
|
||||
|
||||
// Auto shield
|
||||
Settings::getInstance()->setAutoShield(settings.chkAutoShield->isChecked());
|
||||
|
||||
if (zcashConfLocation.isEmpty()) {
|
||||
// Save settings
|
||||
Settings::getInstance()->saveSettings(
|
||||
@@ -567,6 +573,7 @@ void MainWindow::postToZBoard() {
|
||||
auto toAddr = topics[zb.topicsList->currentText()];
|
||||
tx.toAddrs.push_back(ToFields{ toAddr, Settings::getZboardAmount(), memo, memo.toUtf8().toHex() });
|
||||
tx.fee = Settings::getMinerFee();
|
||||
tx.sendChangeToSapling = false;
|
||||
|
||||
json params = json::array();
|
||||
rpc->fillTxJsonParams(params, tx);
|
||||
|
||||
Reference in New Issue
Block a user