mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-09 12:29:44 +00:00
AppContext: clean up interface
This commit is contained in:
parent
33fbde8c19
commit
758b385aef
2 changed files with 0 additions and 13 deletions
|
@ -2,7 +2,6 @@
|
||||||
// Copyright (c) 2020-2021, The Monero Project.
|
// Copyright (c) 2020-2021, The Monero Project.
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QMessageBox>
|
|
||||||
|
|
||||||
#include "appcontext.h"
|
#include "appcontext.h"
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
|
@ -111,17 +110,6 @@ void AppContext::onCreateTransactionMultiDest(const QVector<QString> &addresses,
|
||||||
emit initiateTransaction();
|
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) {
|
void AppContext::onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs) {
|
||||||
if (churn) {
|
if (churn) {
|
||||||
address = this->wallet->address(0, 0);
|
address = this->wallet->address(0, 0);
|
||||||
|
|
|
@ -52,7 +52,6 @@ public slots:
|
||||||
void onCreateTransaction(const QString &address, quint64 amount, const QString &description, bool all);
|
void onCreateTransaction(const QString &address, quint64 amount, const QString &description, bool all);
|
||||||
void onCreateTransactionMultiDest(const QVector<QString> &addresses, const QVector<quint64> &amounts, const QString &description);
|
void onCreateTransactionMultiDest(const QVector<QString> &addresses, const QVector<quint64> &amounts, const QString &description);
|
||||||
void onCancelTransaction(PendingTransaction *tx, const QVector<QString> &address);
|
void onCancelTransaction(PendingTransaction *tx, const QVector<QString> &address);
|
||||||
void onSweepOutput(const QString &keyImage, QString address, bool churn, int outputs);
|
|
||||||
void onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs);
|
void onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs);
|
||||||
void onCreateTransactionError(const QString &msg);
|
void onCreateTransactionError(const QString &msg);
|
||||||
void onOpenAliasResolve(const QString &openAlias);
|
void onOpenAliasResolve(const QString &openAlias);
|
||||||
|
|
Loading…
Reference in a new issue