fiatjaf
459273216c
replace deprecated functions in multiple places.
2025-03-10 02:56:12 -03:00
Alessio Perugini
967a08fb65
nip17: fix nil pointer
...
Fixes a nil pointer when the Publish succeeds.
In that case the err is nil, and calling .Error() on nil causes a nil
pointer exception.
Reproduced at: https://play.golang.com/p/ps8d82Qt9kO
2025-01-05 12:11:04 -03:00
fiatjaf
050ad2c509
nip17: use new path for Keyer interface.
2024-10-17 01:04:09 -03:00
1l0
f08e4e9af7
add kinds
2024-10-05 22:24:29 -03:00
fiatjaf
15aa7ac31e
nip17: PublishMessage()
2024-09-19 12:58:20 -03:00
1l0
0b2b69529b
error aware Keyer.GetPublicKey
2024-09-19 11:13:55 -03:00
fiatjaf
87e696eecb
nip17: include recipient "p" tag.
2024-09-15 12:57:36 -03:00
fiatjaf
db023e12e9
keyer, nip17, nip44, nip59: this time is different!
2024-09-15 11:11:49 -03:00
fiatjaf
f976296e01
more fixes and tweaks to keyer, 17, 44 and 59.
2024-09-14 23:23:53 -03:00
fiatjaf
46a0c95b96
some tweaks to 17, 44 and 59.
2024-09-14 22:47:43 -03:00
fiatjaf
5e2e0bf458
keyring -> keyer, fix misunderstanding with NIP-59 and adjust api.
2024-09-11 11:49:53 -03:00
fiatjaf
873453928e
nip17: forgot to close this channel.
2024-09-11 10:13:29 -03:00
fiatjaf
7514629906
nip17 and nip59.
2024-09-11 10:13:29 -03:00