Skip to content

Commit

Permalink
fix: lotus-wallet: pass correct repo type to repo.Init
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 21, 2022
1 parent fc34d9b commit 3cd17f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-wallet/main.go
Original file line number Diff line number Diff line change
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 3cd17f0

Please sign in to comment.