mirror of
https://github.com/fiatjaf/nak.git
synced 2025-09-01 14:20:46 -04:00
fix "if this is a private key" section.
This commit is contained in:
@@ -41,11 +41,11 @@ object Components {
|
||||
),
|
||||
entry(
|
||||
"npub",
|
||||
NIP19.encode(XOnlyPublicKey(bytes32))
|
||||
NIP19.encode(PrivateKey(bytes32).publicKey.xonly)
|
||||
),
|
||||
nip19_21(
|
||||
"nprofile",
|
||||
NIP19.encode(ProfilePointer(XOnlyPublicKey(bytes32)))
|
||||
NIP19.encode(ProfilePointer(PrivateKey(bytes32).publicKey.xonly))
|
||||
)
|
||||
),
|
||||
"if this is an event id:",
|
||||
|
Reference in New Issue
Block a user