Skip to content

Commit

Permalink
Fix str > int
Browse files Browse the repository at this point in the history
  • Loading branch information
EggPool authored Nov 28, 2019
1 parent f10aef6 commit 0175f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mempool.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def space_left_for_tx(self, transaction, mempool_size):
return True
# Medium prio: 5 BIS or more
if mempool_size < 0.5:
if transaction[3] > 5:
if float(transaction[3]) > 5:
return True
# High prio: allowed by config
if mempool_size < 0.6:
Expand Down

0 comments on commit 0175f70

Please sign in to comment.