negentropy: fix one stupid bug and rename Initiate() to Start().

This commit is contained in:
fiatjaf
2024-09-19 15:53:01 -03:00
parent 15aa7ac31e
commit e9e96be95e
4 changed files with 7 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ func (n *Negentropy) String() string {
return fmt.Sprintf("<Negentropy %s with %d items>", label, n.storage.Size())
}
func (n *Negentropy) Initiate() string {
func (n *Negentropy) Start() string {
n.initialized = true
n.isClient = true