Merge pull request 'History: don't allow rebroadcasting incoming transaction' (#249) from tobtoht/feather:send_rebroadcast_incoming into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/249
This commit is contained in:
tobtoht 2020-12-22 23:33:54 +00:00
commit 628da207d0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void HistoryWidget::showContextMenu(const QPoint &point) {
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);
}