mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts: updated pcsc API call
This commit is contained in:
parent
0997c242b2
commit
57089a3c37
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func (hub *Hub) setPairing(wallet *Wallet, pairing *smartcardPairing) error {
|
||||||
|
|
||||||
// NewHub creates a new hardware wallet manager for smartcards.
|
// NewHub creates a new hardware wallet manager for smartcards.
|
||||||
func NewHub(daemonPath string, scheme string, datadir string) (*Hub, error) {
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue