378e69c015
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
10 lines
220 B
Go
10 lines
220 B
Go
package common
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
|
)
|
|
|
|
// HasUpdateAccess returns true if contract can be updated.
|
|
func HasUpdateAccess() bool {
|
|
return runtime.CheckWitness(CommitteeAddress())
|
|
}
|