From 3cd17f0ee4f3512322005571faad0ef7107d9344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 21 Mar 2022 12:00:37 +0100 Subject: [PATCH] fix: lotus-wallet: pass correct repo type to repo.Init --- cmd/lotus-wallet/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-wallet/main.go b/cmd/lotus-wallet/main.go index 91f23d092..045e55327 100644 --- a/cmd/lotus-wallet/main.go +++ b/cmd/lotus-wallet/main.go @@ -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 } }