accounts: updated pcsc API call

This commit is contained in:
Tomasz Zdybał 2019-09-12 10:38:06 +02:00
parent 0997c242b2
commit 57089a3c37
No known key found for this signature in database
GPG key ID: F157D3BD6E2EED66

View file

@ -153,7 +153,7 @@ func (hub *Hub) setPairing(wallet *Wallet, pairing *smartcardPairing) error {
// NewHub creates a new hardware wallet manager for smartcards.
func NewHub(daemonPath string, scheme string, datadir string) (*Hub, error) {
context, err := pcsc.EstablishContext(daemonPath, pcsc.ScopeSystem)
context, err := pcsc.EstablishContext(pcsc.ScopeSystem)
if err != nil {
return nil, err
}