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
|
||||
}
|
||||
|
||||
err := accountstore.CreateEncryptedWallet(cmd.Account, cmd.Description,
|
||||
[]byte(cmd.Passphrase))
|
||||
err := accountstore.CreateEncryptedWallet("", "", []byte(cmd.Passphrase))
|
||||
switch err {
|
||||
case nil:
|
||||
// A nil reply is sent upon successful wallet creation.
|
||||
|
|
Loading…
Reference in a new issue