Expire the ephemeral nodes in the Serve method

This commit is contained in:
Juan Font 2021-08-12 21:44:12 +02:00
parent 9c2a630055
commit 4c849539fc
2 changed files with 2 additions and 1 deletions

View file

@ -21,7 +21,7 @@ var serveCmd = &cobra.Command{
if err != nil {
log.Fatalf("Error initializing: %s", err)
}
go h.ExpireEphemeralNodes(5000)
err = h.Serve()
if err != nil {
log.Fatalf("Error initializing: %s", err)