Fix incorrect string formatting directive

This commit is contained in:
Steven Polley 2024-04-20 13:27:18 -06:00
parent a52f3f0d43
commit caf5bd5af6

View File

@ -54,7 +54,7 @@ Example usage:
decodedSecret, err := base32.StdEncoding.DecodeString(string(secretBytes))
if err != nil {
log.Fatalf("failed to base32 decode secret '%s': %w", secretFilePath, err)
log.Fatalf("failed to base32 decode secret '%s': %v", secretFilePath, err)
}
ports, err := otphyp.GeneratePorts(decodedSecret, time.Now())