mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-12 12:32:32 +02:00
nip19, subscription, publication code examples added to README.md
fixed typo in example/example.go
This commit is contained in:
@ -37,7 +37,7 @@ func main() {
|
||||
if _, v, err := nip19.Decode(npub); err == nil {
|
||||
t := make(map[string][]string)
|
||||
// making a "p" tag for the above public key.
|
||||
// this filters for messages tagged with the user "npub1sg6plz..." (mainly replies to this user).
|
||||
// this filters for messages tagged with the user, mainly replies.
|
||||
t["p"] = []string{v.(string)}
|
||||
filters = []nostr.Filter{{
|
||||
Kinds: []int{1},
|
||||
|
Reference in New Issue
Block a user