Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #549 from hermeznetwork/cleanup-delayed-withdraw
Browse files Browse the repository at this point in the history
Cleans up delayed withdraw once process has finished
  • Loading branch information
AlbertoElias authored Jun 18, 2021
2 parents 6db4ec3 + ebf26c1 commit 97e49fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/global/global.thunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ function checkPendingWithdrawals () {
// Checks here to have access to pendingWithdraw.hash
if (exitTx.instantWithdraw || exitTx.delayedWithdraw) {
dispatch(removePendingWithdraw(pendingWithdraw.hash))
dispatch(removePendingDelayedWithdraw(pendingWithdraw.id))
}
})
})
Expand Down

0 comments on commit 97e49fa

Please sign in to comment.