Skip to content

Commit

Permalink
coins: send to self should send to current account
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Sep 3, 2024
1 parent ba6113d commit d245c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dialog/OutputSweepDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, [&](){
Expand Down
2 changes: 1 addition & 1 deletion src/libwalletqt/Wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ void Wallet::createTransactionMultiDest(const QVector<QString> &addresses, const

void Wallet::sweepOutputs(const QVector<QString> &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";
Expand Down

0 comments on commit d245c4d

Please sign in to comment.