Skip to content

Commit

Permalink
style(bip39): combine params type
Browse files Browse the repository at this point in the history
  • Loading branch information
Planxnx committed Apr 8, 2023
1 parent d68dcf1 commit 795f016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip39/bip39.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func NewMnemonic(entropy []byte) (string, error) {

// NewSeed creates a hashed seed output given a provided string and password.
// No checking is performed to validate that the string provided is a valid mnemonic.
func NewSeed(mnemonic string, password string) []byte {
func NewSeed(mnemonic, password string) []byte {
return pbkdf2.Key([]byte(mnemonic), []byte("mnemonic"+password), 2048, 64, sha512.New)
}

Expand Down

0 comments on commit 795f016

Please sign in to comment.