use instance AID in delete command

This commit is contained in:
Andrea Franz 2019-02-15 16:32:27 +01:00
parent a649361580
commit f53574789a
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ func (i *Initializer) Install(capFile *os.File, overwriteApplet bool) error {
return err
}
err = i.deleteAID(lightwallet.NdefInstanceAID, lightwallet.WalletAID, lightwallet.AppletPkgAID)
err = i.deleteAID(lightwallet.NdefInstanceAID, lightwallet.WalletInstanceAID, lightwallet.AppletPkgAID)
if err != nil {
return err
}
@ -136,7 +136,7 @@ func (i *Initializer) Delete() error {
return err
}
return i.deleteAID(lightwallet.NdefInstanceAID, lightwallet.WalletAID, lightwallet.AppletPkgAID)
return i.deleteAID(lightwallet.NdefInstanceAID, lightwallet.WalletInstanceAID, lightwallet.AppletPkgAID)
}
func (i *Initializer) initGPSecureChannel(sdaid []byte) error {