fix error message

This commit is contained in:
Yasuhiro Matsumoto
2025-11-25 22:29:25 +09:00
committed by fiatjaf_
parent c3cb59a94a
commit 73d80203a0

View File

@@ -111,7 +111,7 @@ var decrypt = &cli.Command{
}
plaintext, err := nip04.Decrypt(ciphertext, ss)
if err != nil {
return fmt.Errorf("failed to encrypt as nip04: %w", err)
return fmt.Errorf("failed to decrypt as nip04: %w", err)
}
stdout(plaintext)
}