Merge pull request #8356 from filecoin-project/fix/wallet-init-type
fix: lotus-wallet: pass correct repo type to repo.Init
This commit is contained in:
commit
3a62c8b4a2
@ -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