mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
[#2442] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
7f8b259994
commit
28908aa3cf
293 changed files with 2222 additions and 2224 deletions
6
cli/testdata/invalid3/invalid.go
vendored
6
cli/testdata/invalid3/invalid.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// invalid is an example of contract which doesn't pass event check.
|
||||
// invalid is an example of a contract which doesn't pass event check.
|
||||
package invalid3
|
||||
|
||||
import (
|
||||
|
@ -6,14 +6,14 @@ import (
|
|||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// Notify1 emits correctly typed event.
|
||||
// Notify1 emits a correctly typed event.
|
||||
func Notify1() bool {
|
||||
runtime.Notify("Event", interop.Hash160{1, 2, 3})
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
// Notify2 emits invalid event (missing from manifest).
|
||||
// Notify2 emits an invalid event (missing from manifest).
|
||||
func Notify2() bool {
|
||||
runtime.Notify("AnotherEvent", interop.Hash160{1, 2, 3})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue