mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-24 09:30:36 +00:00
10 lines
237 B
Go
10 lines
237 B
Go
|
package testdata
|
||
|
|
||
|
import "github.com/CityOfZion/neo-go/pkg/interop/storage"
|
||
|
|
||
|
func Main(operation string, args []interface{}) interface{} {
|
||
|
ctx := storage.GetContext()
|
||
|
storage.Put(ctx, args[0].([]byte), args[1].([]byte))
|
||
|
return true
|
||
|
}
|