From 72ef03f2384c6f65d0cb6c66bdeef78051cb994c Mon Sep 17 00:00:00 2001 From: mlctrez Date: Mon, 19 Dec 2022 22:40:24 -0600 Subject: [PATCH] use crypto/rand instead of math/rand --- relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay.go b/relay.go index 7cac807..2f8f652 100644 --- a/relay.go +++ b/relay.go @@ -2,11 +2,11 @@ package nostr import ( "context" + "crypto/rand" "encoding/hex" "encoding/json" "fmt" "log" - "math/rand" "time" s "github.com/SaveTheRbtz/generic-sync-map-go"