neoneo-go/pkg/rpc/server/testdata/test_contract.go
Evgenii Stratonikov 0e2a1f40ba core: add ContractTX to a testchain generator
Simple transfer from multisig account to the account
of one of the validators.
2020-03-02 18:00:00 +03:00

9 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
}