wallet: adjust isDefault field name

Part of #1130
This commit is contained in:
Anna Shaleva 2020-07-10 08:39:39 +03:00
parent 2ab23dc56a
commit e9f4693e18
12 changed files with 25 additions and 25 deletions

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "NYqxsNMHxDg3T19APYP27mBZFfauC4zngR", "address": "NYqxsNMHxDg3T19APYP27mBZFfauC4zngR",
@ -58,7 +58,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -44,7 +44,7 @@ type Account struct {
Locked bool `json:"lock"` Locked bool `json:"lock"`
// Indicates whether the account is the default change account. // 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 // Contract represents a subset of the smartcontract to embed in the

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
} }
], ],
"scrypt": { "scrypt": {

View file

@ -16,7 +16,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2", "address": "Nbb1qkwcwNSBs9pAnrVVrnFbWnbWBk91U2",
@ -41,7 +41,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": false "isdefault": false
}, },
{ {
"address": "NNsXzAGGVY3H3viPHzaoD6BcVtqNCdMAHZ", "address": "NNsXzAGGVY3H3viPHzaoD6BcVtqNCdMAHZ",
@ -58,7 +58,7 @@
"deployed": false "deployed": false
}, },
"lock": false, "lock": false,
"isDefault": true "isdefault": true
} }
], ],
"scrypt": { "scrypt": {