Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthpun committed Feb 3, 2024
1 parent c2e5a0d commit d8b07aa
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions flowkit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ func TestAccounts(t *testing.T) {
ctx,
serviceAcc,
[]accounts.PublicKey{{
pubKey,
flow.AccountKeyWeightThreshold,
crypto.ECDSA_P256,
crypto.SHA3_256,
Public: pubKey,
Weight: flow.AccountKeyWeightThreshold,
SigAlgo: crypto.ECDSA_P256,
HashAlgo: crypto.SHA3_256,
}},
)

Expand Down Expand Up @@ -1527,10 +1527,10 @@ func setupAccount(state *State, flowkit Flowkit, account *accounts.Account) {
ctx,
srv,
[]accounts.PublicKey{{
(*pk).PublicKey(),
flow.AccountKeyWeightThreshold,
key.SigAlgo(),
key.HashAlgo(),
Public: (*pk).PublicKey(),
Weight: flow.AccountKeyWeightThreshold,
SigAlgo: key.SigAlgo(),
HashAlgo: key.HashAlgo(),
}},
)

Expand Down Expand Up @@ -1744,9 +1744,9 @@ func TestTransactions_Integration(t *testing.T) {
tx, err := flowkit.BuildTransaction(
ctx,
transactions.AddressesRoles{
signer,
[]flow.Address{signer},
signer,
Proposer: signer,
Authorizers: []flow.Address{signer},
Payer: signer,
},
srvAcc.Key.Index(),
Script{
Expand Down Expand Up @@ -1778,9 +1778,9 @@ func TestTransactions_Integration(t *testing.T) {
tx, err := flowkit.BuildTransaction(
ctx,
transactions.AddressesRoles{
a.Address,
nil,
a.Address,
Proposer: a.Address,
Authorizers: nil,
Payer: a.Address,
},
0,
Script{
Expand Down Expand Up @@ -1817,9 +1817,9 @@ func TestTransactions_Integration(t *testing.T) {
tx, err := flowkit.BuildTransaction(
ctx,
transactions.AddressesRoles{
a.Address,
[]flow.Address{a.Address},
a.Address,
Proposer: a.Address,
Authorizers: []flow.Address{a.Address},
Payer: a.Address,
},
0,
Script{
Expand Down Expand Up @@ -1856,9 +1856,9 @@ func TestTransactions_Integration(t *testing.T) {
tx, err := flowkit.BuildTransaction(
ctx,
transactions.AddressesRoles{
a.Address,
[]flow.Address{a.Address},
a.Address,
Proposer: a.Address,
Authorizers: []flow.Address{a.Address},
Payer: a.Address,
},
0,
Script{
Expand Down

0 comments on commit d8b07aa

Please sign in to comment.