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

@@ -135,6 +135,9 @@ class TxDialog(Factory.Popup):
def do_rbf(self):
from .bump_fee_dialog import BumpFeeDialog
is_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(self.tx)
if fee is None:
self.app.show_error(_("Can't bump fee: unknown fee for original transaction."))
return
size = self.tx.estimated_size()
d = BumpFeeDialog(self.app, fee, size, self._do_rbf)
d.open()