Skip to content

Commit

Permalink
Fix flow generate transaction template (#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink authored Sep 24, 2024
1 parent f99a061 commit 605907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/super/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func generateTransaction(
state *flowkit.State,
) (result command.Result, err error) {
generator := NewGenerator("", state, logger, false, true)
transaction := ScriptTemplate{Name: args[0]}
transaction := TransactionTemplate{Name: args[0]}
err = generator.Create(TemplateMap{TransactionType: []TemplateItem{transaction}})
return nil, err
}
Expand Down

0 comments on commit 605907c

Please sign in to comment.