compiler/interop: replace int64 with int

This commit is contained in:
Evgeniy Stratonikov 2021-03-04 13:14:24 +03:00
parent 1138143a50
commit d66ce43239
4 changed files with 12 additions and 12 deletions

View file

@ -40,7 +40,7 @@ func TestByteConstant(t *testing.T) {
src := `package foo
import "github.com/nspcc-dev/neo-go/pkg/interop/convert"
const a byte = 0xFF
func Main() int64 {
func Main() int {
x := convert.ToInteger(a)
return x+1
}`