1
0
This commit is contained in:
SomberNight
2018-04-12 12:17:24 +02:00
parent 426ab85ed6
commit 3bf5afa61a
3 changed files with 11 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ class BumpFeeDialog(Factory.Popup):
self.callback = callback
self.config = app.electrum_config
self.mempool = self.config.use_mempool_fees()
self.dynfees = self.config.is_dynfee() and self.app.network and self.config.has_dynamic_fees_ready()
self.dynfees = self.config.is_dynfee() and bool(self.app.network) and self.config.has_dynamic_fees_ready()
self.ids.old_fee.value = self.app.format_amount_and_units(self.init_fee)
self.update_slider()
self.update_text()
@@ -116,7 +116,3 @@ class BumpFeeDialog(Factory.Popup):
def on_slider(self, value):
self.update_text()
def on_checkbox(self, b):
self.dynfees = b
self.update_text()

View File

@@ -74,7 +74,6 @@ class FeeDialog(Factory.Popup):
Factory.Popup.__init__(self)
self.app = app
self.config = config
self.fee_rate = self.config.fee_per_kb()
self.callback = callback
mempool = self.config.use_mempool_fees()
dynfees = self.config.is_dynfee()