Browse Source

kivy: fix type in RBF dialog

3.0.x
ThomasV 7 years ago
parent
commit
e9f7429fcd
  1. 4
      gui/kivy/uix/dialogs/bump_fee_dialog.py

4
gui/kivy/uix/dialogs/bump_fee_dialog.py

@ -102,9 +102,9 @@ class BumpFeeDialog(Factory.Popup):
if self.dynfees: if self.dynfees:
if self.config.has_fee_estimates(): if self.config.has_fee_estimates():
dynfee = self.config.dynfee(value) dynfee = self.config.dynfee(value)
return dynfee * self.tx_size // 1000 return int(dynfee * self.tx_size // 1000)
else: else:
return value*self.fee_step * self.tx_size // 1000 return int(value*self.fee_step * self.tx_size // 1000)
def on_ok(self): def on_ok(self):
new_fee = self.get_fee() new_fee = self.get_fee()

Loading…
Cancel
Save