|
@ -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() |
|
|