Skip to content

Commit

Permalink
chore: minor nit on committing the delete #26
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Feb 16, 2022
1 parent 3eecb41 commit 0777ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icon_governance/workers/delegations.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def set_delegation(session, data, address, block_height, hash):
else:
for d in address_delegation:
session.delete(d)
session.commit()
session.commit()

for d in params["delegations"]:
delegation = Delegation(
Expand Down

0 comments on commit 0777ac4

Please sign in to comment.