Skip to content

Commit

Permalink
fix: mismatch type
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Dec 20, 2024
1 parent 53464b1 commit fa34746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _deploy/r/gnoswap/gnft/gnft.gno
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ func setTokenURI(tid grc721.TokenID) error {
// Returns:
// - *rand.Rand: A new random instance
func generateRandInstance() *rand.Rand {
seed1 := uint64(time.Now().Unix() + TotalSupply())
seed2 := uint64(time.Now().UnixNano() + TotalSupply())
seed1 := uint64(time.Now().Unix()) + TotalSupply()
seed2 := uint64(time.Now().UnixNano()) + TotalSupply()
pcg := rand.NewPCG(seed1, seed2)
return rand.New(pcg)
}
Expand Down

0 comments on commit fa34746

Please sign in to comment.