forked from tangled.org/core
this repo has no description

appview: state: add missing returns in pulls

Changed files
+2
appview
state
+2
appview/state/pull.go
···
if err = validateResubmittedPatch(pull, patch); err != nil {
s.pages.Notice(w, "resubmit-error", err.Error())
+
return
tx, err := s.db.BeginTx(r.Context(), nil)
···
if err = validateResubmittedPatch(pull, patch); err != nil {
s.pages.Notice(w, "resubmit-error", err.Error())
+
return
if sourceRev == pull.Submissions[pull.LastRoundNumber()].SourceRev {