fix: fee_to_depth
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user