mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-09 01:24:04 +01:00
Ready for beta
This commit is contained in:
+8
-2
@@ -829,9 +829,16 @@ void AppContext::onTransactionCreated(PendingTransaction *tx, const QVector<QStr
|
||||
|
||||
// tx created, but not sent yet. ask user to verify first.
|
||||
emit createTransactionSuccess(tx, address);
|
||||
|
||||
if(this->autoCommitTx) {
|
||||
this->currentWallet->commitTransactionAsync(tx);
|
||||
}
|
||||
}
|
||||
|
||||
QString AppContext::getAddress(quint32 accountIndex, quint32 addressIndex) {
|
||||
return this->currentWallet->address(accountIndex, addressIndex);
|
||||
}
|
||||
|
||||
#if defined(HAS_OPENVR)
|
||||
void AppContext::onAskReceivingPIN() {
|
||||
// request new receiving PIN from wowlet-backend
|
||||
if(this->currentWallet == nullptr)
|
||||
@@ -870,7 +877,6 @@ void AppContext::onLookupReceivingPIN(QString pin) {
|
||||
QJsonDocument doc = QJsonDocument(obj);
|
||||
this->ws->sendMsg(doc.toJson(QJsonDocument::Compact));
|
||||
}
|
||||
#endif
|
||||
|
||||
void AppContext::onTransactionCommitted(bool status, PendingTransaction *tx, const QStringList& txid){
|
||||
this->currentWallet->history()->refresh(this->currentWallet->currentSubaddressAccount());
|
||||
|
||||
Reference in New Issue
Block a user