now length is int

This commit is contained in:
Michele Balistreri 2022-11-17 18:50:34 +01:00
parent f8d203fc9e
commit b91e6c4f9d

View File

@ -414,7 +414,7 @@ func (f *KeycardFlow) loadKeys(kc *keycardContext) error {
mnemonicLength = defMnemoLen
}
indexes, err := kc.generateMnemonic(int(mnemonicLength.(float64)) / 3)
indexes, err := kc.generateMnemonic(mnemonicLength.(int) / 3)
if isSCardError(err) {
return restartErr()