Update for btcws API change.

This commit is contained in:
Josh Rickmar 2014-01-24 11:17:19 -05:00
parent 13d310f8d4
commit 3778ddd024

View file

@ -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.