Skip to content

Commit

Permalink
Update common.go
Browse files Browse the repository at this point in the history
  • Loading branch information
damongolding committed Nov 21, 2024
1 parent c8f8ca6 commit 5de4ab6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ type RouteRequestData struct {
}

func init() {
var err error
SharedSecret, err = utils.GenerateSharedSecret()
secret, err := utils.GenerateSharedSecret()
if err != nil {
log.Error("Generatering shared secret", "err", err)
log.Fatal("Failed to generate shared secret", "error", err)
}
SharedSecret = secret
}

0 comments on commit 5de4ab6

Please sign in to comment.