improve fee status message

This commit is contained in:
ThomasV 2018-03-05 09:49:17 +01:00
parent 2b5117ab3d
commit 0bca97dd2f

View file

@ -348,7 +348,7 @@ class SimpleConfig(PrintError):
pos = self.get_depth_level() if mempool else self.get_fee_level()
fee_rate = self.fee_per_kb()
target, tooltip = self.get_fee_text(pos, dyn, mempool, fee_rate)
return target + ' [%s]'%tooltip
return tooltip + ' [%s]'%target if dyn else target + ' [Static]'
def get_fee_text(self, pos, dyn, mempool, fee_rate):
"""Returns (text, tooltip) where