Browse Source

Remove extraneous newline character in GenerateSeed

tags/v1.4.0
codesoap 1 month ago
parent
commit
8063b1ff3f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      util.go

+ 1
- 1
util.go View File

@@ -15,7 +15,7 @@ import (
func GenerateSeed() (string, error) {
b := make([]byte, 32)
_, err := rand.Read(b)
return fmt.Sprintf("%X\n", b), err
return fmt.Sprintf("%X", b), err
}

// NewPrivateKey creates a private key from the given seed and index.

Loading…
Cancel
Save