Skip to content

Commit

Permalink
Merge pull request #1961 from nspcc-dev/bench-fixes
Browse files Browse the repository at this point in the history
wallet: rename `isdefault` to `isDefault`
  • Loading branch information
roman-khimov authored May 14, 2021
2 parents fcf29bc + ea49c6b commit 2cb878c
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion cli/testdata/testwallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
8 changes: 4 additions & 4 deletions cli/testdata/wallet1_solo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"label" : "",
"key" : "6PYM8VdX2BSm7BSXKzV4Fz6S3R9cDLLWNrD9nMjxW352jEv3fsC8N3wNLY",
"lock" : false,
"isdefault" : true,
"isDefault" : true,
"contract" : {
"script" : "DCECs2Ir9AF73+MXxYrtX0x1PyBrfbiWBG+n13S7xL9/jcJBVuezJw==",
"deployed" : false,
Expand All @@ -22,7 +22,7 @@
},
{
"lock" : false,
"isdefault" : false,
"isDefault" : false,
"contract" : {
"script" : "EwwhAhA6f33QFlWFl/eWDSfFFqQ5T9loueZRVetLAT5AQEBuDCECp7xV/oaE4BGXaNEEujB5W9zIZhnoZK3SYVZyPtGFzWIMIQKzYiv0AXvf4xfFiu1fTHU/IGt9uJYEb6fXdLvEv3+NwgwhA9kMB99j5pDOd5EuEKtRrMlEtmhgI3tgjE+PgwnnHuaZFEGe0Nw6",
"parameters" : [
Expand All @@ -47,7 +47,7 @@
},
{
"lock" : false,
"isdefault" : false,
"isDefault" : false,
"contract" : {
"parameters" : [
{
Expand All @@ -70,7 +70,7 @@
"deployed" : true
},
"lock" : false,
"isdefault" : false,
"isDefault" : false,
"key" : "6PYSATFzuRXXUeq7tMDyA1AGxWdVcm7ftbkqtGBt69WJBapT1tkwjp1zpx",
"label" : "acc"
}
Expand Down
4 changes: 2 additions & 2 deletions cli/testdata/wallets/testwallet_NEO3.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
4 changes: 2 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Confirm passphrase >
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down Expand Up @@ -191,7 +191,7 @@ Enter wallet password >
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
2 changes: 1 addition & 1 deletion examples/my_wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/consensus/testdata/wallet1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/consensus/testdata/wallet2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/consensus/testdata/wallet3.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/consensus/testdata/wallet4.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
6 changes: 3 additions & 3 deletions pkg/services/notary/testdata/notary1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NiYvEoR2FTD8FmGXtg1WMhkaTS9A6VH7YV",
Expand All @@ -33,7 +33,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NcPWfiU7bJkUpBruEQcGRyo91bTWijcUXY",
Expand All @@ -50,7 +50,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/notary/testdata/notary2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/oracle/testdata/oracle1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/oracle/testdata/oracle2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/wallet/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Account struct {
Locked bool `json:"lock"`

// Indicates whether the account is the default change account.
Default bool `json:"isdefault"`
Default bool `json:"isDefault"`
}

// Contract represents a subset of the smartcontract to embed in the
Expand Down
4 changes: 2 additions & 2 deletions pkg/wallet/testdata/wallet1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
}
],
"scrypt": {
Expand Down
6 changes: 3 additions & 3 deletions pkg/wallet/testdata/wallet2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq",
Expand All @@ -41,7 +41,7 @@
"deployed": false
},
"lock": false,
"isdefault": false
"isDefault": false
},
{
"address": "NMUedC8TSV2rE17wGguSvPk9XcmHSaT275",
Expand All @@ -58,7 +58,7 @@
"deployed": false
},
"lock": false,
"isdefault": true
"isDefault": true
}
],
"scrypt": {
Expand Down

0 comments on commit 2cb878c

Please sign in to comment.