mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Fixes #2275, transactionCommited txid list
txid list was empty when emitted
This commit is contained in:
parent
c4b3fbae1d
commit
4b0d1dcfbf
2 changed files with 3 additions and 2 deletions
|
@ -524,7 +524,8 @@ bool Wallet::submitTxFile(const QString &fileName) const
|
|||
void Wallet::commitTransactionAsync(PendingTransaction *t)
|
||||
{
|
||||
m_scheduler.run([this, t] {
|
||||
emit transactionCommitted(t->commit(), t, t->txid());
|
||||
auto txIdList = t->txid(); // retrieve before commit
|
||||
emit transactionCommitted(t->commit(), t, txIdList);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -351,7 +351,7 @@ signals:
|
|||
void walletCreationHeightChanged();
|
||||
void deviceButtonRequest(quint64 buttonCode);
|
||||
void deviceButtonPressed();
|
||||
void transactionCommitted(bool status, PendingTransaction *t, QStringList txid);
|
||||
void transactionCommitted(bool status, PendingTransaction *t, const QStringList& txid);
|
||||
void heightRefreshed(quint64 walletHeight, quint64 daemonHeight, quint64 targetHeight) const;
|
||||
|
||||
// emitted when transaction is created async
|
||||
|
|
Loading…
Reference in a new issue