1
0

display 'low fee' in tx dialog

This commit is contained in:
ThomasV
2016-06-15 13:31:24 +02:00
parent 9cc76bc969
commit b6393cbdf2
3 changed files with 5 additions and 2 deletions

View File

@@ -353,6 +353,8 @@ class Network(util.DaemonThread):
import operator
dist = map(lambda x: (x[0], abs(x[1] - fee_per_kb)), self.fee_estimates.items())
min_target, min_value = min(dist, key=operator.itemgetter(1))
if fee_per_kb < self.fee_estimates.get(25)/2:
min_target = -1
return min_target
def notify(self, key):