connector
This commit is contained in:
parent
abf6830f4f
commit
13c8f095fd
@ -172,8 +172,8 @@ class Connector:
|
||||
lb = self.db.get(b"last_block")
|
||||
if lb is None:
|
||||
lb = 0
|
||||
self.db.set(b"last_block", int_to_bytes(0))
|
||||
self.db.set(b"last_cached_block", int_to_bytes(0))
|
||||
self.db.put(b"last_block", int_to_bytes(0))
|
||||
self.db.puts(b"last_cached_block", int_to_bytes(0))
|
||||
else:
|
||||
lb = bytes_to_int(lb)
|
||||
lc = bytes_to_int(self.db.get(b"last_cached_block"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user