rpc: remove Main func from test contract

This commit is contained in:
Evgenii Stratonikov 2020-07-24 13:54:58 +03:00
parent 685d44dbc1
commit 84c148575d
3 changed files with 2 additions and 6 deletions

View file

@ -10,10 +10,6 @@ const (
decimals = 2
)
func Main(operation string, args []interface{}) interface{} {
panic("invoking via Main is no longer supported") // catch possible bugs
}
func Init() bool {
ctx := storage.GetContext()
h := runtime.GetExecutingScriptHash()