2021-02-11 15:55:32 +00:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
|
|
|
)
|
|
|
|
|
2021-09-20 15:05:49 +00:00
|
|
|
// HasUpdateAccess returns true if contract can be updated.
|
|
|
|
func HasUpdateAccess() bool {
|
|
|
|
return runtime.CheckWitness(CommitteeAddress())
|
2021-02-11 15:55:32 +00:00
|
|
|
}
|