diff --git a/peer/cwtch_peer.go b/peer/cwtch_peer.go index 2ebf6ec..3bc5a9c 100644 --- a/peer/cwtch_peer.go +++ b/peer/cwtch_peer.go @@ -793,7 +793,7 @@ func (cp *cwtchPeer) ShareFile(fileKey string, serializedManifest string) { ts, err := strconv.ParseInt(tsStr, 10, 64) if err != nil || ts < time.Now().Unix()-2592000 { log.Errorf("ignoring request to download a file offered more than 30 days ago") - }s + } } cp.eventBus.Publish(event.NewEvent(event.ShareManifest, map[event.Field]string{event.FileKey: fileKey, event.SerializedManifest: serializedManifest})) }