Problem: personal_newAccount don't work (#1561)

fix the internal parameter.
This commit is contained in:
yihuang
2022-12-21 19:55:49 -05:00
committed by GitHub
parent aeea656868
commit 0e366db2e2
+1 -1
View File
@@ -254,7 +254,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
}