forked from TrueCloudLab/frostfs-contract
[#118] *: Encode semver in version number
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
a10f470311
commit
8bd25230fa
11 changed files with 19 additions and 29 deletions
|
@ -11,8 +11,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
version = 1
|
||||
|
||||
neofsContractKey = "neofsScriptHash"
|
||||
|
||||
multiaddrMethod = "alphabetAddress"
|
||||
|
@ -79,5 +77,5 @@ func Verify() bool {
|
|||
|
||||
// Version returns version of the contract.
|
||||
func Version() int {
|
||||
return version
|
||||
return common.Version
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue