|
|
@ -34,7 +34,7 @@ func cmdWallet(cmd []string) { |
|
|
|
chars := []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ" + |
|
|
|
chars := []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ" + |
|
|
|
"abcdefghijklmnopqrstuvwxyz" + |
|
|
|
"abcdefghijklmnopqrstuvwxyz" + |
|
|
|
"0123456789") |
|
|
|
"0123456789") |
|
|
|
length := 5 |
|
|
|
length := 8 |
|
|
|
var b strings.Builder |
|
|
|
var b strings.Builder |
|
|
|
for i := 0; i < length; i++ { |
|
|
|
for i := 0; i < length; i++ { |
|
|
|
b.WriteRune(chars[rand.Intn(len(chars))]) |
|
|
|
b.WriteRune(chars[rand.Intn(len(chars))]) |
|
|
|