diff --git a/internal/super/generator/templates/script_counter.cdc.tmpl b/internal/super/generator/templates/script_counter.cdc.tmpl index c334a2aa2..7c006c30d 100644 --- a/internal/super/generator/templates/script_counter.cdc.tmpl +++ b/internal/super/generator/templates/script_counter.cdc.tmpl @@ -1,6 +1,6 @@ import "{{ .ContractName }}" access(all) -fun main(): String { - return {{ .ContractName }}.greeting -} \ No newline at end of file +fun main(): Int { + return {{ .ContractName }}.getCount() +}