fix fee slider offline bug

This commit is contained in:
ThomasV 2016-09-28 08:11:59 +02:00
parent c32f75a313
commit c05c49a18f

View file

@ -905,6 +905,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
from electrum.util import fee_levels
i = self.fee_slider.sliderPosition()
tooltip = fee_levels[i]
if self.network:
dynfee = self.network.dynfee(i)
if dynfee:
tooltip += '\n' + self.format_amount(dynfee) + ' ' + self.base_unit() + '/kB'