forked from cerc-io/plugeth
accounts/scwallet: don't error when pcsc socket is missing (#19662)
* scwallet: don't error when pcsc socket is missing * review feedback * more review feedback
This commit is contained in:
parent
de38a1dbd4
commit
d97f0372b1
@ -1161,7 +1161,7 @@ func setSmartCard(ctx *cli.Context, cfg *node.Config) {
|
||||
// Sanity check that the smartcard path is valid
|
||||
fi, err := os.Stat(path)
|
||||
if err != nil {
|
||||
log.Error("Failed to verify smartcard daemon path", "path", path, "err", err)
|
||||
log.Info("Smartcard socket not found, disabling", err", err)
|
||||
return
|
||||
}
|
||||
if fi.Mode()&os.ModeType != os.ModeSocket {
|
||||
|
Loading…
Reference in New Issue
Block a user