mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-11 08:56:23 +00:00
createTransactionAsync(): removed reference to WalletManager
This commit is contained in:
parent
f8e2e5da3c
commit
66692be7cf
2 changed files with 1 additions and 3 deletions
src/libwalletqt
|
@ -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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue