Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Jul 11, 2024
1 parent 66f765a commit 8a96b27
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/transactionparser/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,10 @@ func TestDrainVault(t *testing.T) {
}

func TestVaultSpawn(t *testing.T) {
pubs := make([][]byte, 0, 3)
pks := make([]ed25519.PrivateKey, 0, 3)
for i := 0; i < 3; i++ {
pub, pk, err := ed25519.GenerateKey(rand.New(rand.NewSource(time.Now().UnixNano())))
_, pk, err := ed25519.GenerateKey(rand.New(rand.NewSource(time.Now().UnixNano())))
require.NoError(t, err)
pubs = append(pubs, pub)
pks = append(pks, pk)
}
owner := types.GenerateAddress(generatePublicKey())
Expand Down

0 comments on commit 8a96b27

Please sign in to comment.