[#118] *: Encode semver in version number

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-07-29 14:44:53 +03:00 committed by Alex Vanin
parent a10f470311
commit 8bd25230fa
11 changed files with 19 additions and 29 deletions

View file

@ -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
}