Skip to content

Commit

Permalink
Fix counter script: get count instead of non-existent greeting
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Oct 25, 2024
1 parent 606ca7a commit 30bce54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/super/generator/templates/script_counter.cdc.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "{{ .ContractName }}"

access(all)
fun main(): String {
return {{ .ContractName }}.greeting
}
fun main(): Int {
return {{ .ContractName }}.getCount()
}

0 comments on commit 30bce54

Please sign in to comment.