fix: fee_to_depth

This commit is contained in:
ThomasV 2018-02-07 17:30:08 +01:00
parent 146f2dd568
commit 81bd8d8d67

View file

@ -284,7 +284,7 @@ class SimpleConfig(PrintError):
depth = 0 depth = 0
for fee, s in self.mempool_fees: for fee, s in self.mempool_fees:
depth += s depth += s
if fee < target_fee: if fee <= target_fee:
break break
else: else:
return 0 return 0