a bunch of [32]byte conversions. still more needed.

This commit is contained in:
fiatjaf
2025-04-14 17:31:23 -03:00
parent 40535e6b19
commit b4268d649c
132 changed files with 857 additions and 879 deletions
+2 -3
View File
@@ -57,12 +57,11 @@ func TestPublish(t *testing.T) {
assert.NoError(t, err)
}
func makeKeyPair(t *testing.T) (priv, pub string) {
func makeKeyPair(t *testing.T) (priv, pub [32]byte) {
t.Helper()
privkey := GeneratePrivateKey()
pubkey, err := GetPublicKey(privkey)
assert.NoError(t, err)
pubkey := GetPublicKey(privkey)
return privkey, pubkey
}