mirror of
https://github.com/fiatjaf/nak.git
synced 2024-10-30 00:59:07 -04:00
fix "if this is a private key" section.
This commit is contained in:
parent
746a13861d
commit
c3777abd81
|
@ -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:",
|
||||
|
|
Loading…
Reference in New Issue
Block a user