mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-10-11 13:23:14 +02:00
use crypto/rand instead of math/rand
This commit is contained in:
2
relay.go
2
relay.go
@@ -2,11 +2,11 @@ package nostr
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"crypto/rand"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"math/rand"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
s "github.com/SaveTheRbtz/generic-sync-map-go"
|
s "github.com/SaveTheRbtz/generic-sync-map-go"
|
||||||
|
Reference in New Issue
Block a user