remove unused values lint
@@ -268,8 +268,6 @@ func TestAccountsCreate_Integration(t *testing.T) {
address string
code map[string][]byte
balance uint64
- sigAlgo crypto.SignatureAlgorithm
- hashAlgo crypto.HashAlgorithm
pubKeys []crypto.PublicKey
weights []int
}
@@ -319,8 +317,6 @@ func TestAccountsCreate_Integration(t *testing.T) {
address: "01cf0e2f2f715450",
code: map[string][]byte{},
balance: uint64(100000),
- sigAlgo: crypto.ECDSA_P256,
- hashAlgo: crypto.SHA3_256,
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
},
@@ -329,8 +325,6 @@ func TestAccountsCreate_Integration(t *testing.T) {
address: "179b6b1cb6755e31",
code: map[string][]byte{},
balance: uint64(100000),
- sigAlgo: crypto.ECDSA_P256,
- hashAlgo: crypto.SHA3_256,
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
tests.PubKeys()[1],
@@ -342,8 +336,6 @@ func TestAccountsCreate_Integration(t *testing.T) {
tests.ContractSimple.Name: tests.ContractSimple.Source,
},
balance: uint64(100000),
- sigAlgo: crypto.ECDSA_P256,
- hashAlgo: crypto.SHA3_256,
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
},
@@ -363,7 +355,7 @@ func TestAccountsCreate_Integration(t *testing.T) {
for x, k := range acc.Keys {
assert.Equal(t, k.PublicKey, a.pubKeys[x])
- assert.Equal(t, k.Weight, a.weights[x])
+ assert.Equal(t, k.Weight, c.weights[x])
assert.Equal(t, k.SigAlgo, a.sigAlgo)
assert.Equal(t, k.HashAlgo, a.hashAlgo)
}
