Skip to content

Commit cfc7410

Browse files
authored
use shortuuid alphabet for guid encoding (#519)
1 parent 7afb922 commit cfc7410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/id.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func LocalNodeID() (string, error) {
6666
}
6767

6868
var b62Index = newB62Index()
69-
var b62Chars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
69+
var b62Chars = []byte(shortuuid.DefaultAlphabet)
7070

7171
func newB62Index() [256]byte {
7272
var index [256]byte

0 commit comments

Comments
 (0)