diff --git a/server/handler/transactions.go b/server/handler/transactions.go index 92ce74ec5..3e0f1a328 100644 --- a/server/handler/transactions.go +++ b/server/handler/transactions.go @@ -551,7 +551,7 @@ func (h *Handler) DeleteTransaction(c echo.Context) error { // Clear signatures for transactions with signed_at > txSignedAt if !signedAt.IsZero() { - _, err = h.DB.Exec(`UPDATE transactions SET signatures='[]'::jsonb WHERE multisig_address=$1 AND signed_at > $2`, address, signedAt) + _, err = h.DB.Exec(`UPDATE transactions SET signatures='[]'::jsonb WHERE multisig_address=$1 AND signed_at > $2 and status='PENDING'`, address, signedAt) if err != nil { return c.JSON(http.StatusInternalServerError, model.ErrorResponse{ Status: "error",