Skip to content

Commit 5678256

Browse files
committed
fixed seed account creation error
1 parent 51f7824 commit 5678256

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

engine/plugins/api/aviato/company_rounds.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,6 @@ func (cr *companyRounds) createSeedAccount(e *et.Event, round *companyFundingRou
361361
if ents := cr.createPersonInvestors(e, round); len(ents) > 0 {
362362
investors = append(investors, ents...)
363363
}
364-
if len(investors) == 0 {
365-
msg := fmt.Sprintf("failed to create the investors for %s", name)
366-
e.Session.Log().Error(msg, slog.Group("plugin", "name", cr.plugin.name, "handler", cr.name))
367-
return nil
368-
}
369364

370365
for _, investor := range investors {
371366
if err := cr.plugin.createRelation(e.Session, investor,

0 commit comments

Comments
 (0)