fix example to not use kind 14 as that should never be signed.

This commit is contained in:
fiatjaf 2024-05-20 12:19:13 -03:00
parent 18bd7c46c5
commit 383a0f8493

2
46.md
View File

@ -131,7 +131,7 @@ Each of the following are methods that the client sends to the remote signer.
### Requested permissions ### Requested permissions
The `connect` method may be provided with `optional_requested_permissions` for user convenience. The permissions are a comma-separated list of `method[:params]`, i.e. `nip44_encrypt,sign_event:14` meaning permissions to call `nip44_encrypt` and to call `sign_event` with `kind:14`. Optional parameter for `sign_event` is the kind number, parameters for other methods are to be defined later. The `connect` method may be provided with `optional_requested_permissions` for user convenience. The permissions are a comma-separated list of `method[:params]`, i.e. `nip44_encrypt,sign_event:1059` meaning permissions to call `nip44_encrypt` and to call `sign_event` with `kind:1059`. Optional parameter for `sign_event` is the kind number, parameters for other methods are to be defined later.
## Response Events `kind:24133` ## Response Events `kind:24133`