improve and make nip77 api nicer so it could be better used in nak.

This commit is contained in:
fiatjaf
2025-11-12 16:27:51 -03:00
parent 43fabbeb2a
commit 98dbe7b9e9
6 changed files with 63 additions and 137 deletions

View File

@@ -203,8 +203,6 @@ func (n *Negentropy) reconcileAux(reader *bytes.Reader) ([]byte, error) {
if n.isClient && n.HaveNots != nil {
// notify client of what they have and we don't
for id := range theirItems {
fmt.Println(" their:", id)
// skip empty strings here because those were marked to be excluded as such in the previous step
n.HaveNots <- id
}