From 1f4df3001908bbcda61c5322251ceacb48c18bfe Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sat, 22 Apr 2023 08:41:56 +0200 Subject: [PATCH] remove debug print --- updates.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/updates.go b/updates.go index 9c223e1..32f9209 100644 --- a/updates.go +++ b/updates.go @@ -125,8 +125,7 @@ func cmdUpdatesPubkey(c *cmd) { } seed := make([]byte, ed25519.SeedSize) - n, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed) - log.Printf("n %d", n) + _, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed) xcheckf(err, "reading private key") privKey := ed25519.NewKeyFromSeed(seed) pubKey := []byte(privKey.Public().(ed25519.PublicKey))