mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 00:58:40 +02:00
AppContext: clean up interface
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
// Copyright (c) 2020-2021, The Monero Project.
|
||||
|
||||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include "appcontext.h"
|
||||
#include "constants.h"
|
||||
@@ -111,17 +110,6 @@ void AppContext::onCreateTransactionMultiDest(const QVector<QString> &addresses,
|
||||
emit initiateTransaction();
|
||||
}
|
||||
|
||||
void AppContext::onSweepOutput(const QString &keyImage, QString address, bool churn, int outputs) {
|
||||
if (churn) {
|
||||
address = this->wallet->address(0, 0); // primary address
|
||||
}
|
||||
|
||||
qInfo() << "Creating transaction";
|
||||
this->wallet->createTransactionSingleAsync(keyImage, address, outputs, this->tx_priority);
|
||||
|
||||
emit initiateTransaction();
|
||||
}
|
||||
|
||||
void AppContext::onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs) {
|
||||
if (churn) {
|
||||
address = this->wallet->address(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user