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

Commit

Permalink
Remove pending withdraw by id as the hash is from a different tx
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoElias committed Jun 18, 2021
1 parent 9d3c69e commit ebf26c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/global/global.thunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function checkPendingWithdrawals () {
// Checks here to have access to pendingWithdraw.hash
if (exitTx.instantWithdraw || exitTx.delayedWithdraw) {
dispatch(removePendingWithdraw(pendingWithdraw.hash))
dispatch(removePendingDelayedWithdrawByHash(pendingWithdraw.hash))
dispatch(removePendingDelayedWithdraw(pendingWithdraw.id))
}
})
})
Expand Down

0 comments on commit ebf26c1

Please sign in to comment.