diff options
| author | greenart7c3 <115044884+greenart7c3@users.noreply.github.com> | 2026-01-05 10:57:34 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-05 08:57:34 -0500 |
| commit | d7db75fc691a5b182d133d72fb3692b57cf2aeca (patch) | |
| tree | 4e6d334e6719a01dbe5009fe59e3aa6a935580c9 /55.md | |
| parent | 2f71cf74ae3e9bc78d4b599d8ba350cb8df95921 (diff) | |
NIP-55: Fix return field from nip44_encrypt (#2184)
Diffstat (limited to '55.md')
| -rw-r--r-- | 55.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -210,10 +210,10 @@ launcher.launch(intent) | |||
| 210 | context.startActivity(intent) | 210 | context.startActivity(intent) |
| 211 | ``` | 211 | ``` |
| 212 | - result: | 212 | - result: |
| 213 | - If the user approved intent it will return the **signature** and **id** fields | 213 | - If the user approved intent it will return the **result** and **id** fields |
| 214 | 214 | ||
| 215 | ```kotlin | 215 | ```kotlin |
| 216 | val encryptedText = intent.data?.getStringExtra("signature") | 216 | val encryptedText = intent.data?.getStringExtra("result") |
| 217 | // the id you sent | 217 | // the id you sent |
| 218 | val id = intent.data?.getStringExtra("id") | 218 | val id = intent.data?.getStringExtra("id") |
| 219 | ``` | 219 | ``` |