mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-11 15:30:07 +00:00
15 lines
243 B
Go
15 lines
243 B
Go
|
package sub
|
||
|
|
||
|
import "github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
||
|
|
||
|
var Key = "sub"
|
||
|
|
||
|
func _deploy(isUpdate bool) {
|
||
|
ctx := storage.GetContext()
|
||
|
value := "sub create"
|
||
|
if isUpdate {
|
||
|
value = "sub update"
|
||
|
}
|
||
|
storage.Put(ctx, Key, value)
|
||
|
}
|