Int comparisons on block numbers in cic cache lookup

This commit is contained in:
nolash 2021-06-02 17:11:15 +02:00
parent d0f2bc0120
commit 41a96b5584
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -89,7 +89,7 @@ def process_transactions_all_data(session, env):
offset = r[1]
end = r[2]
if r[2] < r[1]:
if int(r[2]) < int(r[1]):
raise ValueError('cart before the horse, dude')
c = DataCache(session)