mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 03:38:35 +00:00
core: adjust Notary contract ID
This commit is contained in:
parent
e1607e23c2
commit
9008cc500c
2 changed files with 1 additions and 4 deletions
|
@ -11,9 +11,6 @@ import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/emit"
|
"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.
|
// Contracts is a set of registered native contracts.
|
||||||
type Contracts struct {
|
type Contracts struct {
|
||||||
Management *Management
|
Management *Management
|
||||||
|
|
|
@ -39,7 +39,7 @@ type NotaryCache struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
notaryContractID = reservedContractID - 1
|
notaryContractID = -10
|
||||||
// prefixDeposit is a prefix for storing Notary deposits.
|
// prefixDeposit is a prefix for storing Notary deposits.
|
||||||
prefixDeposit = 1
|
prefixDeposit = 1
|
||||||
defaultDepositDeltaTill = 5760
|
defaultDepositDeltaTill = 5760
|
||||||
|
|
Loading…
Reference in a new issue