mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 00:58:50 +00:00
fix error message
This commit is contained in:
committed by
fiatjaf_
parent
c3cb59a94a
commit
73d80203a0
@@ -111,7 +111,7 @@ var decrypt = &cli.Command{
|
|||||||
}
|
}
|
||||||
plaintext, err := nip04.Decrypt(ciphertext, ss)
|
plaintext, err := nip04.Decrypt(ciphertext, ss)
|
||||||
if err != nil {
|
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)
|
stdout(plaintext)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user