fix types so tests compile.

This commit is contained in:
fiatjaf
2025-05-12 09:34:25 -03:00
parent f4855dba4e
commit 7b1f4ae49a
17 changed files with 64 additions and 71 deletions

View File

@@ -11,8 +11,8 @@ import (
func TestSharedKeysAreTheSame(t *testing.T) {
for i := 0; i < 100; i++ {
sk1 := nostr.GeneratePrivateKey()
sk2 := nostr.GeneratePrivateKey()
sk1 := nostr.Generate()
sk2 := nostr.Generate()
pk1 := nostr.GetPublicKey(sk1)
pk2 := nostr.GetPublicKey(sk2)