diff --git a/src/dialog/OutputSweepDialog.cpp b/src/dialog/OutputSweepDialog.cpp index b9e4c00..a7a9caa 100644 --- a/src/dialog/OutputSweepDialog.cpp +++ b/src/dialog/OutputSweepDialog.cpp @@ -15,7 +15,7 @@ OutputSweepDialog::OutputSweepDialog(QWidget *parent, quint64 amount) connect(ui->checkBox_churn, &QCheckBox::toggled, [&](bool toggled){ ui->lineEdit_address->setEnabled(!toggled); - ui->lineEdit_address->setText(toggled ? "Primary address" : ""); + ui->lineEdit_address->setText(toggled ? "This account" : ""); }); connect(ui->buttonBox, &QDialogButtonBox::accepted, [&](){ diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 8a45764..61fb184 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -901,7 +901,7 @@ void Wallet::createTransactionMultiDest(const QVector &addresses, const void Wallet::sweepOutputs(const QVector &keyImages, QString address, bool churn, int outputs, int feeLevel) { if (churn) { - address = this->address(0, 0); + address = this->address(m_currentSubaddressAccount, 0); } qInfo() << "Creating transaction";