Skip to content

Commit 9b79adc

Browse files
authored
Fix blank random node UIUD generator
Random generates random UIUDs fixing returning the same value repeteadly.
1 parent 8306d1a commit 9b79adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

triple/node/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func init() {
188188

189189
go func() {
190190
for {
191-
nextVal <- uuid.NewUUID()
191+
nextVal <- uuid.NewRandom()
192192
}
193193
}()
194194
}

0 commit comments

Comments
 (0)