This commit is contained in:
Lex Berezhny committed 2020-07-14 23:13:14 -04:00
1 parent 2d8703bb8d
commit 2f81e9d374
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -704,7 +704,7 @@ class Ledger(metaclass=LedgerRegistry):
batches.append([])
heights_in_batch = 1
batches[-1].append(txid)
if not len(batches[-1]):
if not batches[-1]:
batches.pop()
last_showed_synced_count = 0
+1
View File
@@ -35,6 +35,7 @@ disable=
too-many-statements,
too-many-nested-blocks,
too-many-public-methods,
too-many-return-statements,
too-many-instance-attributes,
protected-access,
unused-argument