mirror of
https://github.com/status-im/keycard-go.git
synced 2025-02-28 11:30:29 +00:00
set empty app info if applet not installed
This commit is contained in:
parent
2e910d9bb4
commit
d6f78d1951
@ -50,6 +50,7 @@ func (cs *CommandSet) Select() error {
|
||||
cmd.SetLe(0)
|
||||
resp, err := cs.c.Send(cmd)
|
||||
if err = cs.checkOK(resp, err); err != nil {
|
||||
cs.ApplicationInfo = &types.ApplicationInfo{}
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user