electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e9f7429fcdbaf46026a6d8a6fc1f6184149bf4dc
parent 348f66b8a5746e8ca789ab311b4bd5f6743705d6
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 27 Oct 2017 15:31:13 +0200

kivy: fix type in RBF dialog

Diffstat:
Mgui/kivy/uix/dialogs/bump_fee_dialog.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui/kivy/uix/dialogs/bump_fee_dialog.py b/gui/kivy/uix/dialogs/bump_fee_dialog.py @@ -102,9 +102,9 @@ class BumpFeeDialog(Factory.Popup): if self.dynfees: if self.config.has_fee_estimates(): dynfee = self.config.dynfee(value) - return dynfee * self.tx_size // 1000 + return int(dynfee * self.tx_size // 1000) else: - return value*self.fee_step * self.tx_size // 1000 + return int(value*self.fee_step * self.tx_size // 1000) def on_ok(self): new_fee = self.get_fee()