mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-03 11:07:25 -04:00
createTransactionAsync(): removed reference to WalletManager
This commit is contained in:
@@ -212,7 +212,7 @@ PendingTransaction *Wallet::createTransaction(const QString &dst_addr, const QSt
|
|||||||
Bitmonero::PendingTransaction * ptImpl = m_walletImpl->createTransaction(
|
Bitmonero::PendingTransaction * ptImpl = m_walletImpl->createTransaction(
|
||||||
dst_addr.toStdString(), payment_id.toStdString(), amount, mixin_count,
|
dst_addr.toStdString(), payment_id.toStdString(), amount, mixin_count,
|
||||||
static_cast<Bitmonero::PendingTransaction::Priority>(priority));
|
static_cast<Bitmonero::PendingTransaction::Priority>(priority));
|
||||||
PendingTransaction * result = new PendingTransaction(ptImpl, m_walletManager);
|
PendingTransaction * result = new PendingTransaction(ptImpl,0);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,7 +307,6 @@ Wallet::Wallet(Bitmonero::Wallet *w, QObject *parent)
|
|||||||
{
|
{
|
||||||
m_history = new TransactionHistory(m_walletImpl->history(), this);
|
m_history = new TransactionHistory(m_walletImpl->history(), this);
|
||||||
m_walletImpl->setListener(new WalletListenerImpl(this));
|
m_walletImpl->setListener(new WalletListenerImpl(this));
|
||||||
m_walletManager = parent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Wallet::~Wallet()
|
Wallet::~Wallet()
|
||||||
|
|||||||
@@ -194,7 +194,6 @@ private:
|
|||||||
mutable QTime m_daemonBlockChainTargetHeightTime;
|
mutable QTime m_daemonBlockChainTargetHeightTime;
|
||||||
mutable quint64 m_daemonBlockChainTargetHeight;
|
mutable quint64 m_daemonBlockChainTargetHeight;
|
||||||
int m_daemonBlockChainTargetHeightTtl;
|
int m_daemonBlockChainTargetHeightTtl;
|
||||||
QObject * m_walletManager;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user