core: adjust Notary contract ID

This commit is contained in:
AnnaShaleva 2022-03-01 16:03:21 +03:00 committed by Anna Shaleva
parent e1607e23c2
commit 9008cc500c
2 changed files with 1 additions and 4 deletions

View file

@ -11,9 +11,6 @@ import (
"github.com/nspcc-dev/neo-go/pkg/vm/emit"
)
// reservedContractID represents the upper bound of the reserved IDs for native contracts.
const reservedContractID = -100
// Contracts is a set of registered native contracts.
type Contracts struct {
Management *Management

View file

@ -39,7 +39,7 @@ type NotaryCache struct {
}
const (
notaryContractID = reservedContractID - 1
notaryContractID = -10
// prefixDeposit is a prefix for storing Notary deposits.
prefixDeposit = 1
defaultDepositDeltaTill = 5760