forked from cerc-io/laconicd-deprecated
Problem: personal_newAccount don't work (#1561)
fix the internal parameter.
This commit is contained in:
parent
aeea656868
commit
0e366db2e2
@ -254,7 +254,7 @@ func (b *Backend) NewMnemonic(uid string,
|
|||||||
bip39Passphrase string,
|
bip39Passphrase string,
|
||||||
algo keyring.SignatureAlgo,
|
algo keyring.SignatureAlgo,
|
||||||
) (*keyring.Record, error) {
|
) (*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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user