fix: lotus-wallet: pass correct repo type to repo.Init
This commit is contained in:
parent
fc34d9ba1c
commit
3cd17f0ee4
@ -278,7 +278,7 @@ func openRepo(cctx *cli.Context) (repo.LockedRepo, types.KeyStore, error) {
|
||||
return nil, nil, err
|
||||
}
|
||||
if !ok {
|
||||
if err := r.Init(repo.Worker); err != nil {
|
||||
if err := r.Init(repo.Wallet); err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user