From 8a96b27b8f6f4bbd33bd08fc5767a39e83968b92 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Thu, 11 Jul 2024 11:56:23 +0200 Subject: [PATCH] Fix test --- pkg/transactionparser/transaction_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/transactionparser/transaction_test.go b/pkg/transactionparser/transaction_test.go index 9bab281..fd297da 100644 --- a/pkg/transactionparser/transaction_test.go +++ b/pkg/transactionparser/transaction_test.go @@ -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())