Skip to content

Commit

Permalink
UP-34: fix flake8 warnings
Browse files Browse the repository at this point in the history
Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
  • Loading branch information
Toktar committed Feb 1, 2021
1 parent d50f651 commit c4db31c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions plenum/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@

LEDGERS_IDS = "ledgers_ids"


class ClientBootStrategy(IntEnum):
Simple = 1
PoolTxn = 2
Expand Down
2 changes: 0 additions & 2 deletions plenum/server/batch_handlers/audit_batch_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,3 @@ def _fill_for_frozen_ledgers(self, txn, last_audit_txn_data):
txn[AUDIT_TXN_LEDGER_ROOT][lid] = last_audit_txn_data[AUDIT_TXN_LEDGER_ROOT][lid] + 1
if lid in last_audit_txn_data[AUDIT_TXN_STATE_ROOT]:
txn[AUDIT_TXN_STATE_ROOT][lid] = last_audit_txn_data[AUDIT_TXN_STATE_ROOT][lid] + 1


Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ def get_result(self, request: Request):
update_time=last_update_time,
proof=proof)
return result

0 comments on commit c4db31c

Please sign in to comment.