cmd/clef: enable smartcard hub (#19649)

* cmd/clef: Enable smartcard hub

* clef: don't error is pcsc is not installed
This commit is contained in:
Guillaume Ballet
2019-06-05 15:27:37 +02:00
committed by Martin Holst Swende
parent 7c9307c683
commit b8ca3cb7d2
3 changed files with 27 additions and 3 deletions

View File

@ -125,7 +125,7 @@ func setup(t *testing.T) (*core.SignerAPI, *headlessUi) {
t.Fatal(err.Error())
}
ui := &headlessUi{make(chan string, 20), make(chan string, 20)}
am := core.StartClefAccountManager(tmpDirName(t), true, true)
am := core.StartClefAccountManager(tmpDirName(t), true, true, "")
api := core.NewSignerAPI(am, 1337, true, ui, db, true, &storage.NoStorage{})
return api, ui