mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-18 02:07:41 +00:00
History: don't allow rebroadcasting incoming transaction
This commit is contained in:
parent
45b3f1ebde
commit
677f7df376
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void HistoryWidget::showContextMenu(const QPoint &point) {
|
||||||
unconfirmed = tInfo.isFailed() || tInfo.isPending();
|
unconfirmed = tInfo.isFailed() || tInfo.isPending();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (AppContext::txCache.contains(txid) && unconfirmed) {
|
if (AppContext::txCache.contains(txid) && unconfirmed && direction != TransactionInfo::Direction_In) {
|
||||||
menu.addAction(QIcon(":/assets/images/info.png"), "Resend transaction", this, &HistoryWidget::onResendTransaction);
|
menu.addAction(QIcon(":/assets/images/info.png"), "Resend transaction", this, &HistoryWidget::onResendTransaction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue