mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 16:19:07 -05: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(
|
entry(
|
||||||
"npub",
|
"npub",
|
||||||
NIP19.encode(XOnlyPublicKey(bytes32))
|
NIP19.encode(PrivateKey(bytes32).publicKey.xonly)
|
||||||
),
|
),
|
||||||
nip19_21(
|
nip19_21(
|
||||||
"nprofile",
|
"nprofile",
|
||||||
NIP19.encode(ProfilePointer(XOnlyPublicKey(bytes32)))
|
NIP19.encode(ProfilePointer(PrivateKey(bytes32).publicKey.xonly))
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
"if this is an event id:",
|
"if this is an event id:",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user