Skip to content

Commit

Permalink
Merge pull request #8356 from filecoin-project/fix/wallet-init-type
Browse files Browse the repository at this point in the history
fix: lotus-wallet: pass correct repo type to repo.Init
  • Loading branch information
arajasek committed Mar 21, 2022
2 parents 1a0fc75 + 3cd17f0 commit 3a62c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-wallet/main.go
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 3a62c8b

Please sign in to comment.