1
0

RBF: make sure we know the fee for the old txn

related #4306
This commit is contained in:
SomberNight
2018-04-24 15:30:13 +02:00
parent 0be73ed546
commit a161b6e655
3 changed files with 8 additions and 1 deletions

View File

@@ -345,7 +345,8 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
lambda bound_c=c: self.editItem(item, bound_c))
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
if is_unconfirmed and tx:
rbf = is_mine and not tx.is_final()
# note: the current implementation of RBF *needs* the old tx fee
rbf = is_mine and not tx.is_final() and fee is not None
if rbf:
menu.addAction(_("Increase fee"), lambda: self.parent.bump_fee_dialog(tx))
else: