Update for btcws API change.
This commit is contained in:
parent
13d310f8d4
commit
3778ddd024
1 changed files with 1 additions and 2 deletions
|
@ -1123,8 +1123,7 @@ func CreateEncryptedWallet(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
|
||||||
return nil, &btcjson.ErrInternal
|
return nil, &btcjson.ErrInternal
|
||||||
}
|
}
|
||||||
|
|
||||||
err := accountstore.CreateEncryptedWallet(cmd.Account, cmd.Description,
|
err := accountstore.CreateEncryptedWallet("", "", []byte(cmd.Passphrase))
|
||||||
[]byte(cmd.Passphrase))
|
|
||||||
switch err {
|
switch err {
|
||||||
case nil:
|
case nil:
|
||||||
// A nil reply is sent upon successful wallet creation.
|
// A nil reply is sent upon successful wallet creation.
|
||||||
|
|
Loading…
Reference in a new issue