Skip to content

Commit

Permalink
Fixed poll_pending_deposits bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban committed Jan 13, 2020
1 parent 43bfd20 commit 22a370c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polaris/polaris/management/commands/poll_pending_deposits.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@ def execute_deposits(cls):
logger.error(f"poll_pending_transactions: {str(e)}")
continue
if success:
# Get updated status
transaction.refresh_from_db()
rdi.after_deposit(transaction)

0 comments on commit 22a370c

Please sign in to comment.