wallet: fix wallet version to conform to NEP-6

See neo-project/neo#2390. Can't see it there? No wonder, that's why we have
this bug for a year and a half. Not critical, we don't care about versions,
but _very_ annoying.
This commit is contained in:
Roman Khimov 2022-08-07 22:36:05 +03:00
parent 41613cd631
commit 260bcc0f49
21 changed files with 23 additions and 23 deletions

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275", "address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo", "address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz", "address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nfyz4KcsgYepRJw1W5C2uKCi6QWKf7v6gG", "address": "Nfyz4KcsgYepRJw1W5C2uKCi6QWKf7v6gG",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -120,7 +120,7 @@ Use `wallet init` command to create a new wallet:
./bin/neo-go wallet init -w wallet.nep6 ./bin/neo-go wallet init -w wallet.nep6
{ {
"version": "3.0", "version": "1.0",
"accounts": [], "accounts": [],
"scrypt": { "scrypt": {
"n": 16384, "n": 16384,
@ -144,7 +144,7 @@ Enter passphrase >
Confirm passphrase > Confirm passphrase >
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E", "address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E",
@ -204,7 +204,7 @@ keys at the same time with `-d` option (you'll be prompted for password):
Enter wallet password > Enter wallet password >
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E", "address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB", "address": "NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275", "address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo", "address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz", "address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nbruchf1SGfar3sN4cPr1UG1bWqADrN5sh", "address": "Nbruchf1SGfar3sN4cPr1UG1bWqADrN5sh",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NaVp3ZxwZWA84DRewRjnBLFstaeBuVMKwR", "address": "NaVp3ZxwZWA84DRewRjnBLFstaeBuVMKwR",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NLUCkBS5dtk1h5cedgFoVXqeoCW2UiYNrZ", "address": "NLUCkBS5dtk1h5cedgFoVXqeoCW2UiYNrZ",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "NUkatH1cgvBeQyDwfyEjTqZRgjmXC1d23A", "address": "NUkatH1cgvBeQyDwfyEjTqZRgjmXC1d23A",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -1,5 +1,5 @@
{ {
"version": "3.0", "version": "1.0",
"accounts": [ "accounts": [
{ {
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn", "address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",

View file

@ -14,7 +14,7 @@ import (
const ( const (
// The current version of neo-go wallet implementations. // The current version of neo-go wallet implementations.
walletVersion = "3.0" walletVersion = "1.0"
) )
// Wallet represents a NEO (NEP-2, NEP-6) compliant wallet. // Wallet represents a NEO (NEP-2, NEP-6) compliant wallet.