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

Reviewed-on: feather/feather#249
remotes/1691844314220217825/master
tobtoht 3 years ago
commit 628da207d0

@ -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);
}

Loading…
Cancel
Save