// CompleteWithdrawals completes the specified pending withdrawals
// (do not pass a transaction as context)
// If the process is interrupted, it's possible that not all pending withdrawals will have gone out
// In that case, the ones that did not go out will remain as pending withdrawals
CompleteWithdrawals completes the specified pending withdrawals
(do not pass a transaction as context)
If the process is interrupted, it's possible that not all pending withdrawals will have gone out
In that case, the ones that did not go out will remain as pending withdrawals
// CompleteWithdrawals completes the specified pending withdrawals // ( do not pass a transaction as context ) // If the process is interrupted it ' s possible that not all pending withdrawals will have gone out // In that case the ones that did not go out will remain as pending withdrawals
func (w *WithdrawalHandler) CompleteWithdrawals(ctxCtx context.Context, pending []*types.PendingWithdrawal) error {
	for _, p := range pending {
		err := w.CompleteWithdrawal(ctxCtx, p)
		if err != nil {
			return stacktrace.Propagate(err, "")
		}
	}
	return nil
}
func ( w * WithdrawalHandler ) CompleteWithdrawals ( ctxCtx context . Context , pending [ ] * types . PendingWithdrawal ) error { for _ , p := range pending { err := w . CompleteWithdrawal ( ctxCtx , p ) if err != nil { return stacktrace . Propagate ( err , " " ) } } return nil }
CompleteWithdrawals completes the specified pending withdrawals
(do not pass a transaction as context)
If the process is interrupted, it's possible that not all pending withdrawals will have gone out
In that case, the ones that did not go out will remain as pending withdrawals
CompleteWithdrawals completes the specified pending withdrawals ( do not pass a transaction as context ) If the process is interrupted it ' s possible that not all pending withdrawals will have gone out In that case the ones that did not go out will remain as pending withdrawals