1944a4332b
It is no longer used and should've be removed on update. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
13 lines
323 B
Go
13 lines
323 B
Go
package common
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
|
)
|
|
|
|
// LegacyOwnerKey is storage key used to store contract owner.
|
|
const LegacyOwnerKey = "contractOwner"
|
|
|
|
// HasUpdateAccess returns true if contract can be updated.
|
|
func HasUpdateAccess() bool {
|
|
return runtime.CheckWitness(CommitteeAddress())
|
|
}
|