Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Problem: personal_newAccount don't work (#1561)
Browse files Browse the repository at this point in the history
fix the internal parameter.
  • Loading branch information
yihuang authored and MalteHerrmann committed Dec 22, 2022
1 parent 80f7919 commit d38bffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/backend/node_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (b *Backend) NewMnemonic(uid string,
bip39Passphrase string,
algo keyring.SignatureAlgo,
) (*keyring.Record, error) {
info, _, err := b.clientCtx.Keyring.NewMnemonic(uid, keyring.English, bip39Passphrase, bip39Passphrase, algo)
info, _, err := b.clientCtx.Keyring.NewMnemonic(uid, keyring.English, hdPath, bip39Passphrase, algo)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit d38bffe

Please sign in to comment.