mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-04 14:03:59 +01:00
Multi destination transactions
This commit is contained in:
@@ -24,9 +24,9 @@ XmrToOrder::XmrToOrder(AppContext *ctx, UtilsNetworking *network, QString baseUr
|
||||
connect(m_ctx, &AppContext::createTransactionCancelled, this, &XmrToOrder::onTransactionCancelled);
|
||||
}
|
||||
|
||||
void XmrToOrder::onTransactionCancelled(const QString &address, double amount) {
|
||||
void XmrToOrder::onTransactionCancelled(const QVector<QString> &address, double amount) {
|
||||
// listener for all cancelled transactions - will try to match the exact amount to this order.
|
||||
if(this->incoming_amount_total != amount || this->receiving_subaddress != address) return;
|
||||
if(this->incoming_amount_total != amount || this->receiving_subaddress != address[0]) return;
|
||||
|
||||
this->errorMsg = "TX cancelled by user";
|
||||
this->changeState(OrderState::Status_OrderFailed);
|
||||
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
|
||||
public slots:
|
||||
void onCountdown();
|
||||
void onTransactionCancelled(const QString &address, double amount);
|
||||
void onTransactionCancelled(const QVector<QString> &address, double amount);
|
||||
void onTransactionCommitted(bool status, PendingTransaction *tx, const QStringList& txid);
|
||||
|
||||
void onCreatedError();
|
||||
|
||||
Reference in New Issue
Block a user