Skip to content

Commit 334313f

Browse files
authored
Replace overrides with override in a contract (#26)
`overrides` used to be `override` in earlier Tact versions
1 parent 736ed59 commit 334313f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/(examples)/05-your-own-trait/contract.tact

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ contract Counter with Deployable, Trackable {
6767
}
6868

6969
// the trait allows us to override the default filtering behavior
70-
overrides fun filterMessage(): Bool {
70+
override fun filterMessage(): Bool {
7171
// our contract's custom filtering behavior is to remove all filters and count all messages
7272
return true;
7373
}
7474

7575
// receive("reset stats") is added automatically to allow owner to reset the stats
7676
// get fun stats(): Int is added automatically to query the stats
7777
// get fun owner(): Address is added automatically to query who the owner is
78-
}
78+
}

0 commit comments

Comments
 (0)