From 605907c7688f14f8259e7397d6098773e6dc5d79 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Tue, 24 Sep 2024 10:16:22 -0700 Subject: [PATCH] Fix `flow generate transaction` template (#1771) --- internal/super/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/super/generate.go b/internal/super/generate.go index 5a16047d4..dbc005be6 100644 --- a/internal/super/generate.go +++ b/internal/super/generate.go @@ -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 }