mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-21 11:51:03 +00:00
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:
parent
41613cd631
commit
260bcc0f49
21 changed files with 23 additions and 23 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz",
|
||||
|
|
2
cli/testdata/testwallet.json
vendored
2
cli/testdata/testwallet.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nfyz4KcsgYepRJw1W5C2uKCi6QWKf7v6gG",
|
||||
|
|
2
cli/testdata/wallet1_solo.json
vendored
2
cli/testdata/wallet1_solo.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
2
cli/testdata/wallets/testwallet_NEO3.json
vendored
2
cli/testdata/wallets/testwallet_NEO3.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
|
@ -120,7 +120,7 @@ Use `wallet init` command to create a new wallet:
|
|||
./bin/neo-go wallet init -w wallet.nep6
|
||||
|
||||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [],
|
||||
"scrypt": {
|
||||
"n": 16384,
|
||||
|
@ -144,7 +144,7 @@ Enter passphrase >
|
|||
Confirm passphrase >
|
||||
|
||||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E",
|
||||
|
@ -204,7 +204,7 @@ keys at the same time with `-d` option (you'll be prompted for password):
|
|||
Enter wallet password >
|
||||
|
||||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NMe64G6j6nkPZby26JAgpaCNrn1Ee4wW6E",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB",
|
||||
|
|
2
pkg/consensus/testdata/wallet1.json
vendored
2
pkg/consensus/testdata/wallet1.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
2
pkg/consensus/testdata/wallet2.json
vendored
2
pkg/consensus/testdata/wallet2.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275",
|
||||
|
|
2
pkg/consensus/testdata/wallet3.json
vendored
2
pkg/consensus/testdata/wallet3.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NdypBhqkz2CMMnwxBgvoC9X2XjKF5axgKo",
|
||||
|
|
2
pkg/consensus/testdata/wallet4.json
vendored
2
pkg/consensus/testdata/wallet4.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NPrB7BmTMYxf9UVroJp4RQExM9tqKmsHTz",
|
||||
|
|
2
pkg/services/notary/testdata/notary1.json
vendored
2
pkg/services/notary/testdata/notary1.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nbruchf1SGfar3sN4cPr1UG1bWqADrN5sh",
|
||||
|
|
2
pkg/services/notary/testdata/notary2.json
vendored
2
pkg/services/notary/testdata/notary2.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NaVp3ZxwZWA84DRewRjnBLFstaeBuVMKwR",
|
||||
|
|
2
pkg/services/oracle/testdata/oracle1.json
vendored
2
pkg/services/oracle/testdata/oracle1.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NLUCkBS5dtk1h5cedgFoVXqeoCW2UiYNrZ",
|
||||
|
|
2
pkg/services/oracle/testdata/oracle2.json
vendored
2
pkg/services/oracle/testdata/oracle2.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "NUkatH1cgvBeQyDwfyEjTqZRgjmXC1d23A",
|
||||
|
|
2
pkg/wallet/testdata/wallet1.json
vendored
2
pkg/wallet/testdata/wallet1.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
2
pkg/wallet/testdata/wallet2.json
vendored
2
pkg/wallet/testdata/wallet2.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "3.0",
|
||||
"version": "1.0",
|
||||
"accounts": [
|
||||
{
|
||||
"address": "Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn",
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
|
||||
const (
|
||||
// The current version of neo-go wallet implementations.
|
||||
walletVersion = "3.0"
|
||||
walletVersion = "1.0"
|
||||
)
|
||||
|
||||
// Wallet represents a NEO (NEP-2, NEP-6) compliant wallet.
|
||||
|
|
Loading…
Reference in a new issue