Skip to content

Commit 8a96b27

Browse files
committed
Fix test
1 parent 66f765a commit 8a96b27

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/transactionparser/transaction_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,10 @@ func TestDrainVault(t *testing.T) {
261261
}
262262

263263
func TestVaultSpawn(t *testing.T) {
264-
pubs := make([][]byte, 0, 3)
265264
pks := make([]ed25519.PrivateKey, 0, 3)
266265
for i := 0; i < 3; i++ {
267-
pub, pk, err := ed25519.GenerateKey(rand.New(rand.NewSource(time.Now().UnixNano())))
266+
_, pk, err := ed25519.GenerateKey(rand.New(rand.NewSource(time.Now().UnixNano())))
268267
require.NoError(t, err)
269-
pubs = append(pubs, pub)
270268
pks = append(pks, pk)
271269
}
272270
owner := types.GenerateAddress(generatePublicKey())

0 commit comments

Comments
 (0)