Skip to content

Commit 480428f

Browse files
authored
Fix counter script: get count instead of non-existent greeting (#1802)
1 parent 606ca7a commit 480428f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "{{ .ContractName }}"
22

33
access(all)
4-
fun main(): String {
5-
return {{ .ContractName }}.greeting
6-
}
4+
fun main(): Int {
5+
return {{ .ContractName }}.getCount()
6+
}

0 commit comments

Comments
 (0)